Class CreateAuthorizedViewRequest.Builder

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

public static final class CreateAuthorizedViewRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CreateAuthorizedViewRequest.Builder> implements CreateAuthorizedViewRequestOrBuilder
 The request for
 [CreateAuthorizedView][google.bigtable.admin.v2.BigtableTableAdmin.CreateAuthorizedView]
 
Protobuf type google.bigtable.admin.v2.CreateAuthorizedViewRequest
  • 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<CreateAuthorizedViewRequest.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<CreateAuthorizedViewRequest.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<CreateAuthorizedViewRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CreateAuthorizedViewRequest 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<CreateAuthorizedViewRequest.Builder>
    • setField

      public CreateAuthorizedViewRequest.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<CreateAuthorizedViewRequest.Builder>
    • clearField

      public CreateAuthorizedViewRequest.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<CreateAuthorizedViewRequest.Builder>
    • clearOneof

      public CreateAuthorizedViewRequest.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<CreateAuthorizedViewRequest.Builder>
    • setRepeatedField

      public CreateAuthorizedViewRequest.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<CreateAuthorizedViewRequest.Builder>
    • addRepeatedField

      public CreateAuthorizedViewRequest.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<CreateAuthorizedViewRequest.Builder>
    • mergeFrom

      public CreateAuthorizedViewRequest.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<CreateAuthorizedViewRequest.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<CreateAuthorizedViewRequest.Builder>
    • mergeFrom

      public CreateAuthorizedViewRequest.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<CreateAuthorizedViewRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. This is the name of the table the AuthorizedView belongs to.
       Values are of the form
       `projects/{project}/instances/{instance}/tables/{table}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateAuthorizedViewRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. This is the name of the table the AuthorizedView belongs to.
       Values are of the form
       `projects/{project}/instances/{instance}/tables/{table}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateAuthorizedViewRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public CreateAuthorizedViewRequest.Builder setParent(String value)
       Required. This is the name of the table the AuthorizedView belongs to.
       Values are of the form
       `projects/{project}/instances/{instance}/tables/{table}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

       Required. This is the name of the table the AuthorizedView belongs to.
       Values are of the form
       `projects/{project}/instances/{instance}/tables/{table}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateAuthorizedViewRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. This is the name of the table the AuthorizedView belongs to.
       Values are of the form
       `projects/{project}/instances/{instance}/tables/{table}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getAuthorizedViewId

      public String getAuthorizedViewId()
       Required. The id of the AuthorizedView to create. This AuthorizedView must
       not already exist. The `authorized_view_id` appended to `parent` forms the
       full AuthorizedView name of the form
       `projects/{project}/instances/{instance}/tables/{table}/authorizedView/{authorized_view}`.
       
      string authorized_view_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAuthorizedViewId in interface CreateAuthorizedViewRequestOrBuilder
      Returns:
      The authorizedViewId.
    • getAuthorizedViewIdBytes

      public com.google.protobuf.ByteString getAuthorizedViewIdBytes()
       Required. The id of the AuthorizedView to create. This AuthorizedView must
       not already exist. The `authorized_view_id` appended to `parent` forms the
       full AuthorizedView name of the form
       `projects/{project}/instances/{instance}/tables/{table}/authorizedView/{authorized_view}`.
       
      string authorized_view_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAuthorizedViewIdBytes in interface CreateAuthorizedViewRequestOrBuilder
      Returns:
      The bytes for authorizedViewId.
    • setAuthorizedViewId

      public CreateAuthorizedViewRequest.Builder setAuthorizedViewId(String value)
       Required. The id of the AuthorizedView to create. This AuthorizedView must
       not already exist. The `authorized_view_id` appended to `parent` forms the
       full AuthorizedView name of the form
       `projects/{project}/instances/{instance}/tables/{table}/authorizedView/{authorized_view}`.
       
      string authorized_view_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The authorizedViewId to set.
      Returns:
      This builder for chaining.
    • clearAuthorizedViewId

      public CreateAuthorizedViewRequest.Builder clearAuthorizedViewId()
       Required. The id of the AuthorizedView to create. This AuthorizedView must
       not already exist. The `authorized_view_id` appended to `parent` forms the
       full AuthorizedView name of the form
       `projects/{project}/instances/{instance}/tables/{table}/authorizedView/{authorized_view}`.
       
      string authorized_view_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setAuthorizedViewIdBytes

      public CreateAuthorizedViewRequest.Builder setAuthorizedViewIdBytes(com.google.protobuf.ByteString value)
       Required. The id of the AuthorizedView to create. This AuthorizedView must
       not already exist. The `authorized_view_id` appended to `parent` forms the
       full AuthorizedView name of the form
       `projects/{project}/instances/{instance}/tables/{table}/authorizedView/{authorized_view}`.
       
      string authorized_view_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for authorizedViewId to set.
      Returns:
      This builder for chaining.
    • hasAuthorizedView

      public boolean hasAuthorizedView()
       Required. The AuthorizedView to create.
       
      .google.bigtable.admin.v2.AuthorizedView authorized_view = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasAuthorizedView in interface CreateAuthorizedViewRequestOrBuilder
      Returns:
      Whether the authorizedView field is set.
    • getAuthorizedView

      public AuthorizedView getAuthorizedView()
       Required. The AuthorizedView to create.
       
      .google.bigtable.admin.v2.AuthorizedView authorized_view = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAuthorizedView in interface CreateAuthorizedViewRequestOrBuilder
      Returns:
      The authorizedView.
    • setAuthorizedView

      public CreateAuthorizedViewRequest.Builder setAuthorizedView(AuthorizedView value)
       Required. The AuthorizedView to create.
       
      .google.bigtable.admin.v2.AuthorizedView authorized_view = 3 [(.google.api.field_behavior) = REQUIRED];
    • setAuthorizedView

      public CreateAuthorizedViewRequest.Builder setAuthorizedView(AuthorizedView.Builder builderForValue)
       Required. The AuthorizedView to create.
       
      .google.bigtable.admin.v2.AuthorizedView authorized_view = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeAuthorizedView

      public CreateAuthorizedViewRequest.Builder mergeAuthorizedView(AuthorizedView value)
       Required. The AuthorizedView to create.
       
      .google.bigtable.admin.v2.AuthorizedView authorized_view = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearAuthorizedView

      public CreateAuthorizedViewRequest.Builder clearAuthorizedView()
       Required. The AuthorizedView to create.
       
      .google.bigtable.admin.v2.AuthorizedView authorized_view = 3 [(.google.api.field_behavior) = REQUIRED];
    • getAuthorizedViewBuilder

      public AuthorizedView.Builder getAuthorizedViewBuilder()
       Required. The AuthorizedView to create.
       
      .google.bigtable.admin.v2.AuthorizedView authorized_view = 3 [(.google.api.field_behavior) = REQUIRED];
    • getAuthorizedViewOrBuilder

      public AuthorizedViewOrBuilder getAuthorizedViewOrBuilder()
       Required. The AuthorizedView to create.
       
      .google.bigtable.admin.v2.AuthorizedView authorized_view = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAuthorizedViewOrBuilder in interface CreateAuthorizedViewRequestOrBuilder
    • setUnknownFields

      public final CreateAuthorizedViewRequest.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<CreateAuthorizedViewRequest.Builder>
    • mergeUnknownFields

      public final CreateAuthorizedViewRequest.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<CreateAuthorizedViewRequest.Builder>