Class BatchCommitWriteStreamsRequest.Builder

    • Method Detail

      • 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<BatchCommitWriteStreamsRequest.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<BatchCommitWriteStreamsRequest.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public String getParent()
         Required. Parent table that all the streams should belong to, in the form
         of `projects/{project}/datasets/{dataset}/tables/{table}`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getParent in interface BatchCommitWriteStreamsRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. Parent table that all the streams should belong to, in the form
         of `projects/{project}/datasets/{dataset}/tables/{table}`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getParentBytes in interface BatchCommitWriteStreamsRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public BatchCommitWriteStreamsRequest.Builder setParent​(String value)
         Required. Parent table that all the streams should belong to, in the form
         of `projects/{project}/datasets/{dataset}/tables/{table}`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public BatchCommitWriteStreamsRequest.Builder clearParent()
         Required. Parent table that all the streams should belong to, in the form
         of `projects/{project}/datasets/{dataset}/tables/{table}`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setParentBytes

        public BatchCommitWriteStreamsRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. Parent table that all the streams should belong to, in the form
         of `projects/{project}/datasets/{dataset}/tables/{table}`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • getWriteStreamsList

        public com.google.protobuf.ProtocolStringList getWriteStreamsList()
         Required. The group of streams that will be committed atomically.
         
        repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getWriteStreamsList in interface BatchCommitWriteStreamsRequestOrBuilder
        Returns:
        A list containing the writeStreams.
      • getWriteStreamsCount

        public int getWriteStreamsCount()
         Required. The group of streams that will be committed atomically.
         
        repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getWriteStreamsCount in interface BatchCommitWriteStreamsRequestOrBuilder
        Returns:
        The count of writeStreams.
      • getWriteStreams

        public String getWriteStreams​(int index)
         Required. The group of streams that will be committed atomically.
         
        repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getWriteStreams in interface BatchCommitWriteStreamsRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The writeStreams at the given index.
      • getWriteStreamsBytes

        public com.google.protobuf.ByteString getWriteStreamsBytes​(int index)
         Required. The group of streams that will be committed atomically.
         
        repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getWriteStreamsBytes in interface BatchCommitWriteStreamsRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the writeStreams at the given index.
      • setWriteStreams

        public BatchCommitWriteStreamsRequest.Builder setWriteStreams​(int index,
                                                                      String value)
         Required. The group of streams that will be committed atomically.
         
        repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        index - The index to set the value at.
        value - The writeStreams to set.
        Returns:
        This builder for chaining.
      • addWriteStreams

        public BatchCommitWriteStreamsRequest.Builder addWriteStreams​(String value)
         Required. The group of streams that will be committed atomically.
         
        repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The writeStreams to add.
        Returns:
        This builder for chaining.
      • addAllWriteStreams

        public BatchCommitWriteStreamsRequest.Builder addAllWriteStreams​(Iterable<String> values)
         Required. The group of streams that will be committed atomically.
         
        repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        values - The writeStreams to add.
        Returns:
        This builder for chaining.
      • clearWriteStreams

        public BatchCommitWriteStreamsRequest.Builder clearWriteStreams()
         Required. The group of streams that will be committed atomically.
         
        repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • addWriteStreamsBytes

        public BatchCommitWriteStreamsRequest.Builder addWriteStreamsBytes​(com.google.protobuf.ByteString value)
         Required. The group of streams that will be committed atomically.
         
        repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes of the writeStreams to add.
        Returns:
        This builder for chaining.