public static final class ExecuteSqlMetadata.Builder extends GeneratedMessageV3.Builder<ExecuteSqlMetadata.Builder> implements ExecuteSqlMetadataOrBuilder
Any additional metadata information regarding the execution of the SQL
Protobuf type google.cloud.alloydb.v1beta.ExecuteSqlMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ExecuteSqlMetadata.BuilderImplements
ExecuteSqlMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExecuteSqlMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ExecuteSqlMetadata.Builder |
build()
public ExecuteSqlMetadata build()
Returns | |
---|---|
Type | Description |
ExecuteSqlMetadata |
buildPartial()
public ExecuteSqlMetadata buildPartial()
Returns | |
---|---|
Type | Description |
ExecuteSqlMetadata |
clear()
public ExecuteSqlMetadata.Builder clear()
Returns | |
---|---|
Type | Description |
ExecuteSqlMetadata.Builder |
clearField(Descriptors.FieldDescriptor field)
public ExecuteSqlMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ExecuteSqlMetadata.Builder |
clearMessage()
public ExecuteSqlMetadata.Builder clearMessage()
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 |
ExecuteSqlMetadata.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ExecuteSqlMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ExecuteSqlMetadata.Builder |
clearPartialResult()
public ExecuteSqlMetadata.Builder clearPartialResult()
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 |
ExecuteSqlMetadata.Builder |
This builder for chaining. |
clearSqlStatementExecutionDuration()
public ExecuteSqlMetadata.Builder clearSqlStatementExecutionDuration()
The time duration taken to execute the sql statement.
.google.protobuf.Duration sql_statement_execution_duration = 3;
Returns | |
---|---|
Type | Description |
ExecuteSqlMetadata.Builder |
clearStatus()
public ExecuteSqlMetadata.Builder clearStatus()
Status of SQL execution.
.google.cloud.alloydb.v1beta.ExecuteSqlMetadata.Status status = 4;
Returns | |
---|---|
Type | Description |
ExecuteSqlMetadata.Builder |
This builder for chaining. |
clone()
public ExecuteSqlMetadata.Builder clone()
Returns | |
---|---|
Type | Description |
ExecuteSqlMetadata.Builder |
getDefaultInstanceForType()
public ExecuteSqlMetadata getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ExecuteSqlMetadata |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMessage()
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. |
getMessageBytes()
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. |
getPartialResult()
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. |
getSqlStatementExecutionDuration()
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. |
getSqlStatementExecutionDurationBuilder()
public Duration.Builder getSqlStatementExecutionDurationBuilder()
The time duration taken to execute the sql statement.
.google.protobuf.Duration sql_statement_execution_duration = 3;
Returns | |
---|---|
Type | Description |
Builder |
getSqlStatementExecutionDurationOrBuilder()
public DurationOrBuilder getSqlStatementExecutionDurationOrBuilder()
The time duration taken to execute the sql statement.
.google.protobuf.Duration sql_statement_execution_duration = 3;
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
getStatus()
public ExecuteSqlMetadata.Status getStatus()
Status of SQL execution.
.google.cloud.alloydb.v1beta.ExecuteSqlMetadata.Status status = 4;
Returns | |
---|---|
Type | Description |
ExecuteSqlMetadata.Status |
The status. |
getStatusValue()
public int getStatusValue()
Status of SQL execution.
.google.cloud.alloydb.v1beta.ExecuteSqlMetadata.Status status = 4;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for status. |
hasSqlStatementExecutionDuration()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ExecuteSqlMetadata other)
public ExecuteSqlMetadata.Builder mergeFrom(ExecuteSqlMetadata other)
Parameter | |
---|---|
Name | Description |
other |
ExecuteSqlMetadata |
Returns | |
---|---|
Type | Description |
ExecuteSqlMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExecuteSqlMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ExecuteSqlMetadata.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ExecuteSqlMetadata.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ExecuteSqlMetadata.Builder |
mergeSqlStatementExecutionDuration(Duration value)
public ExecuteSqlMetadata.Builder mergeSqlStatementExecutionDuration(Duration value)
The time duration taken to execute the sql statement.
.google.protobuf.Duration sql_statement_execution_duration = 3;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
ExecuteSqlMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExecuteSqlMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExecuteSqlMetadata.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ExecuteSqlMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ExecuteSqlMetadata.Builder |
setMessage(String value)
public ExecuteSqlMetadata.Builder setMessage(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The message to set. |
Returns | |
---|---|
Type | Description |
ExecuteSqlMetadata.Builder |
This builder for chaining. |
setMessageBytes(ByteString value)
public ExecuteSqlMetadata.Builder setMessageBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for message to set. |
Returns | |
---|---|
Type | Description |
ExecuteSqlMetadata.Builder |
This builder for chaining. |
setPartialResult(boolean value)
public ExecuteSqlMetadata.Builder setPartialResult(boolean value)
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;
Parameter | |
---|---|
Name | Description |
value |
boolean The partialResult to set. |
Returns | |
---|---|
Type | Description |
ExecuteSqlMetadata.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExecuteSqlMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ExecuteSqlMetadata.Builder |
setSqlStatementExecutionDuration(Duration value)
public ExecuteSqlMetadata.Builder setSqlStatementExecutionDuration(Duration value)
The time duration taken to execute the sql statement.
.google.protobuf.Duration sql_statement_execution_duration = 3;
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
ExecuteSqlMetadata.Builder |
setSqlStatementExecutionDuration(Duration.Builder builderForValue)
public ExecuteSqlMetadata.Builder setSqlStatementExecutionDuration(Duration.Builder builderForValue)
The time duration taken to execute the sql statement.
.google.protobuf.Duration sql_statement_execution_duration = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
ExecuteSqlMetadata.Builder |
setStatus(ExecuteSqlMetadata.Status value)
public ExecuteSqlMetadata.Builder setStatus(ExecuteSqlMetadata.Status value)
Status of SQL execution.
.google.cloud.alloydb.v1beta.ExecuteSqlMetadata.Status status = 4;
Parameter | |
---|---|
Name | Description |
value |
ExecuteSqlMetadata.Status The status to set. |
Returns | |
---|---|
Type | Description |
ExecuteSqlMetadata.Builder |
This builder for chaining. |
setStatusValue(int value)
public ExecuteSqlMetadata.Builder setStatusValue(int value)
Status of SQL execution.
.google.cloud.alloydb.v1beta.ExecuteSqlMetadata.Status status = 4;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for status to set. |
Returns | |
---|---|
Type | Description |
ExecuteSqlMetadata.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ExecuteSqlMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExecuteSqlMetadata.Builder |