Send feedback
Class ExecuteSqlMetadata (0.42.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.42.0 keyboard_arrow_down
public final class ExecuteSqlMetadata extends GeneratedMessageV3 implements ExecuteSqlMetadataOrBuilder
Any additional metadata information regarding the execution of the SQL
Protobuf type google.cloud.alloydb.v1.ExecuteSqlMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(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.v1.ExecuteSqlMetadata.Status status = 4;
public int getStatusValue ()
Status of SQL execution.
.google.cloud.alloydb.v1.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 GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public ExecuteSqlMetadata . Builder newBuilderForType ()
protected ExecuteSqlMetadata . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public ExecuteSqlMetadata . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]