public final class ExecuteSqlMetadata extends GeneratedMessage implements ExecuteSqlMetadataOrBuilder
Any additional metadata information regarding the execution of the SQL
Protobuf type google.cloud.alloydb.v1alpha.ExecuteSqlMetadata
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
public static final int MESSAGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int PARTIAL_RESULT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int SQL_STATEMENT_EXECUTION_DURATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int STATUS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static ExecuteSqlMetadata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static ExecuteSqlMetadata.Builder newBuilder()
public static ExecuteSqlMetadata.Builder newBuilder(ExecuteSqlMetadata prototype)
public static ExecuteSqlMetadata parseDelimitedFrom(InputStream input)
public static ExecuteSqlMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ExecuteSqlMetadata parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static ExecuteSqlMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExecuteSqlMetadata parseFrom(ByteString data)
public static ExecuteSqlMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExecuteSqlMetadata parseFrom(CodedInputStream input)
public static ExecuteSqlMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ExecuteSqlMetadata parseFrom(InputStream input)
public static ExecuteSqlMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ExecuteSqlMetadata parseFrom(ByteBuffer data)
public static ExecuteSqlMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<ExecuteSqlMetadata> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public ExecuteSqlMetadata getDefaultInstanceForType()
public String getMessage()
Message related to SQL execution. Marked as core content since it
can potentially contain details related to the query or result set. This
field can be used to convey messages such as "when the SQL result set
exceeds the acceptable response size limits."
string message = 1;
| Returns |
| Type |
Description |
String |
The message.
|
public ByteString getMessageBytes()
Message related to SQL execution. Marked as core content since it
can potentially contain details related to the query or result set. This
field can be used to convey messages such as "when the SQL result set
exceeds the acceptable response size limits."
string message = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for message.
|
public Parser<ExecuteSqlMetadata> getParserForType()
Overrides
public boolean getPartialResult()
Set to true if SQL returned a result set larger than the acceptable
response size limits and the result was truncated.
bool partial_result = 2;
| Returns |
| Type |
Description |
boolean |
The partialResult.
|
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
public Duration getSqlStatementExecutionDuration()
The time duration taken to execute the sql statement.
.google.protobuf.Duration sql_statement_execution_duration = 3;
| Returns |
| Type |
Description |
Duration |
The sqlStatementExecutionDuration.
|
public DurationOrBuilder getSqlStatementExecutionDurationOrBuilder()
The time duration taken to execute the sql statement.
.google.protobuf.Duration sql_statement_execution_duration = 3;
public ExecuteSqlMetadata.Status getStatus()
Status of SQL execution.
.google.cloud.alloydb.v1alpha.ExecuteSqlMetadata.Status status = 4;
public int getStatusValue()
Status of SQL execution.
.google.cloud.alloydb.v1alpha.ExecuteSqlMetadata.Status status = 4;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for status.
|
public boolean hasSqlStatementExecutionDuration()
The time duration taken to execute the sql statement.
.google.protobuf.Duration sql_statement_execution_duration = 3;
| Returns |
| Type |
Description |
boolean |
Whether the sqlStatementExecutionDuration field is set.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ExecuteSqlMetadata.Builder newBuilderForType()
protected ExecuteSqlMetadata.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public ExecuteSqlMetadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides