Class PrepareQueryResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<PrepareQueryResponse.Builder>
com.google.bigtable.v2.PrepareQueryResponse.Builder
All Implemented Interfaces:
PrepareQueryResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
PrepareQueryResponse

public static final class PrepareQueryResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PrepareQueryResponse.Builder> implements PrepareQueryResponseOrBuilder
 Response message for Bigtable.PrepareQueryResponse
 
Protobuf type google.bigtable.v2.PrepareQueryResponse
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PrepareQueryResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<PrepareQueryResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PrepareQueryResponse.Builder>
    • getDefaultInstanceForType

      public PrepareQueryResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public PrepareQueryResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public PrepareQueryResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<PrepareQueryResponse.Builder>
    • setField

      public PrepareQueryResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<PrepareQueryResponse.Builder>
    • clearField

      public PrepareQueryResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<PrepareQueryResponse.Builder>
    • clearOneof

      public PrepareQueryResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PrepareQueryResponse.Builder>
    • setRepeatedField

      public PrepareQueryResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PrepareQueryResponse.Builder>
    • addRepeatedField

      public PrepareQueryResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PrepareQueryResponse.Builder>
    • mergeFrom

      public PrepareQueryResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PrepareQueryResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PrepareQueryResponse.Builder>
    • mergeFrom

      public PrepareQueryResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PrepareQueryResponse.Builder>
      Throws:
      IOException
    • hasMetadata

      public boolean hasMetadata()
       Structure of rows in the response stream of `ExecuteQueryResponse` for the
       returned `prepared_query`.
       
      .google.bigtable.v2.ResultSetMetadata metadata = 1;
      Specified by:
      hasMetadata in interface PrepareQueryResponseOrBuilder
      Returns:
      Whether the metadata field is set.
    • getMetadata

      public ResultSetMetadata getMetadata()
       Structure of rows in the response stream of `ExecuteQueryResponse` for the
       returned `prepared_query`.
       
      .google.bigtable.v2.ResultSetMetadata metadata = 1;
      Specified by:
      getMetadata in interface PrepareQueryResponseOrBuilder
      Returns:
      The metadata.
    • setMetadata

      public PrepareQueryResponse.Builder setMetadata(ResultSetMetadata value)
       Structure of rows in the response stream of `ExecuteQueryResponse` for the
       returned `prepared_query`.
       
      .google.bigtable.v2.ResultSetMetadata metadata = 1;
    • setMetadata

      public PrepareQueryResponse.Builder setMetadata(ResultSetMetadata.Builder builderForValue)
       Structure of rows in the response stream of `ExecuteQueryResponse` for the
       returned `prepared_query`.
       
      .google.bigtable.v2.ResultSetMetadata metadata = 1;
    • mergeMetadata

      public PrepareQueryResponse.Builder mergeMetadata(ResultSetMetadata value)
       Structure of rows in the response stream of `ExecuteQueryResponse` for the
       returned `prepared_query`.
       
      .google.bigtable.v2.ResultSetMetadata metadata = 1;
    • clearMetadata

      public PrepareQueryResponse.Builder clearMetadata()
       Structure of rows in the response stream of `ExecuteQueryResponse` for the
       returned `prepared_query`.
       
      .google.bigtable.v2.ResultSetMetadata metadata = 1;
    • getMetadataBuilder

      public ResultSetMetadata.Builder getMetadataBuilder()
       Structure of rows in the response stream of `ExecuteQueryResponse` for the
       returned `prepared_query`.
       
      .google.bigtable.v2.ResultSetMetadata metadata = 1;
    • getMetadataOrBuilder

      public ResultSetMetadataOrBuilder getMetadataOrBuilder()
       Structure of rows in the response stream of `ExecuteQueryResponse` for the
       returned `prepared_query`.
       
      .google.bigtable.v2.ResultSetMetadata metadata = 1;
      Specified by:
      getMetadataOrBuilder in interface PrepareQueryResponseOrBuilder
    • getPreparedQuery

      public com.google.protobuf.ByteString getPreparedQuery()
       A serialized prepared query. Clients should treat this as an opaque
       blob of bytes to send in `ExecuteQueryRequest`.
       
      bytes prepared_query = 2;
      Specified by:
      getPreparedQuery in interface PrepareQueryResponseOrBuilder
      Returns:
      The preparedQuery.
    • setPreparedQuery

      public PrepareQueryResponse.Builder setPreparedQuery(com.google.protobuf.ByteString value)
       A serialized prepared query. Clients should treat this as an opaque
       blob of bytes to send in `ExecuteQueryRequest`.
       
      bytes prepared_query = 2;
      Parameters:
      value - The preparedQuery to set.
      Returns:
      This builder for chaining.
    • clearPreparedQuery

      public PrepareQueryResponse.Builder clearPreparedQuery()
       A serialized prepared query. Clients should treat this as an opaque
       blob of bytes to send in `ExecuteQueryRequest`.
       
      bytes prepared_query = 2;
      Returns:
      This builder for chaining.
    • hasValidUntil

      public boolean hasValidUntil()
       The time at which the prepared query token becomes invalid.
       A token may become invalid early due to changes in the data being read, but
       it provides a guideline to refresh query plans asynchronously.
       
      .google.protobuf.Timestamp valid_until = 3;
      Specified by:
      hasValidUntil in interface PrepareQueryResponseOrBuilder
      Returns:
      Whether the validUntil field is set.
    • getValidUntil

      public com.google.protobuf.Timestamp getValidUntil()
       The time at which the prepared query token becomes invalid.
       A token may become invalid early due to changes in the data being read, but
       it provides a guideline to refresh query plans asynchronously.
       
      .google.protobuf.Timestamp valid_until = 3;
      Specified by:
      getValidUntil in interface PrepareQueryResponseOrBuilder
      Returns:
      The validUntil.
    • setValidUntil

      public PrepareQueryResponse.Builder setValidUntil(com.google.protobuf.Timestamp value)
       The time at which the prepared query token becomes invalid.
       A token may become invalid early due to changes in the data being read, but
       it provides a guideline to refresh query plans asynchronously.
       
      .google.protobuf.Timestamp valid_until = 3;
    • setValidUntil

      public PrepareQueryResponse.Builder setValidUntil(com.google.protobuf.Timestamp.Builder builderForValue)
       The time at which the prepared query token becomes invalid.
       A token may become invalid early due to changes in the data being read, but
       it provides a guideline to refresh query plans asynchronously.
       
      .google.protobuf.Timestamp valid_until = 3;
    • mergeValidUntil

      public PrepareQueryResponse.Builder mergeValidUntil(com.google.protobuf.Timestamp value)
       The time at which the prepared query token becomes invalid.
       A token may become invalid early due to changes in the data being read, but
       it provides a guideline to refresh query plans asynchronously.
       
      .google.protobuf.Timestamp valid_until = 3;
    • clearValidUntil

      public PrepareQueryResponse.Builder clearValidUntil()
       The time at which the prepared query token becomes invalid.
       A token may become invalid early due to changes in the data being read, but
       it provides a guideline to refresh query plans asynchronously.
       
      .google.protobuf.Timestamp valid_until = 3;
    • getValidUntilBuilder

      public com.google.protobuf.Timestamp.Builder getValidUntilBuilder()
       The time at which the prepared query token becomes invalid.
       A token may become invalid early due to changes in the data being read, but
       it provides a guideline to refresh query plans asynchronously.
       
      .google.protobuf.Timestamp valid_until = 3;
    • getValidUntilOrBuilder

      public com.google.protobuf.TimestampOrBuilder getValidUntilOrBuilder()
       The time at which the prepared query token becomes invalid.
       A token may become invalid early due to changes in the data being read, but
       it provides a guideline to refresh query plans asynchronously.
       
      .google.protobuf.Timestamp valid_until = 3;
      Specified by:
      getValidUntilOrBuilder in interface PrepareQueryResponseOrBuilder
    • setUnknownFields

      public final PrepareQueryResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PrepareQueryResponse.Builder>
    • mergeUnknownFields

      public final PrepareQueryResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PrepareQueryResponse.Builder>