Class CreateAppProfileRequest.Builder

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

public static final class CreateAppProfileRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CreateAppProfileRequest.Builder> implements CreateAppProfileRequestOrBuilder
 Request message for BigtableInstanceAdmin.CreateAppProfile.
 
Protobuf type google.bigtable.admin.v2.CreateAppProfileRequest
  • 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<CreateAppProfileRequest.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<CreateAppProfileRequest.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<CreateAppProfileRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

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

      public String getParent()
       Required. The unique name of the instance in which to create the new app
       profile. Values are of the form `projects/{project}/instances/{instance}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateAppProfileRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The unique name of the instance in which to create the new app
       profile. Values are of the form `projects/{project}/instances/{instance}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateAppProfileRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public CreateAppProfileRequest.Builder setParent(String value)
       Required. The unique name of the instance in which to create the new app
       profile. Values are of the form `projects/{project}/instances/{instance}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public CreateAppProfileRequest.Builder clearParent()
       Required. The unique name of the instance in which to create the new app
       profile. Values are of the form `projects/{project}/instances/{instance}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateAppProfileRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The unique name of the instance in which to create the new app
       profile. Values are of the form `projects/{project}/instances/{instance}`.
       
      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.
    • getAppProfileId

      public String getAppProfileId()
       Required. The ID to be used when referring to the new app profile within
       its instance, e.g., just `myprofile` rather than
       `projects/myproject/instances/myinstance/appProfiles/myprofile`.
       
      string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAppProfileId in interface CreateAppProfileRequestOrBuilder
      Returns:
      The appProfileId.
    • getAppProfileIdBytes

      public com.google.protobuf.ByteString getAppProfileIdBytes()
       Required. The ID to be used when referring to the new app profile within
       its instance, e.g., just `myprofile` rather than
       `projects/myproject/instances/myinstance/appProfiles/myprofile`.
       
      string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAppProfileIdBytes in interface CreateAppProfileRequestOrBuilder
      Returns:
      The bytes for appProfileId.
    • setAppProfileId

      public CreateAppProfileRequest.Builder setAppProfileId(String value)
       Required. The ID to be used when referring to the new app profile within
       its instance, e.g., just `myprofile` rather than
       `projects/myproject/instances/myinstance/appProfiles/myprofile`.
       
      string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The appProfileId to set.
      Returns:
      This builder for chaining.
    • clearAppProfileId

      public CreateAppProfileRequest.Builder clearAppProfileId()
       Required. The ID to be used when referring to the new app profile within
       its instance, e.g., just `myprofile` rather than
       `projects/myproject/instances/myinstance/appProfiles/myprofile`.
       
      string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setAppProfileIdBytes

      public CreateAppProfileRequest.Builder setAppProfileIdBytes(com.google.protobuf.ByteString value)
       Required. The ID to be used when referring to the new app profile within
       its instance, e.g., just `myprofile` rather than
       `projects/myproject/instances/myinstance/appProfiles/myprofile`.
       
      string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for appProfileId to set.
      Returns:
      This builder for chaining.
    • hasAppProfile

      public boolean hasAppProfile()
       Required. The app profile to be created.
       Fields marked `OutputOnly` will be ignored.
       
      .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasAppProfile in interface CreateAppProfileRequestOrBuilder
      Returns:
      Whether the appProfile field is set.
    • getAppProfile

      public AppProfile getAppProfile()
       Required. The app profile to be created.
       Fields marked `OutputOnly` will be ignored.
       
      .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAppProfile in interface CreateAppProfileRequestOrBuilder
      Returns:
      The appProfile.
    • setAppProfile

      public CreateAppProfileRequest.Builder setAppProfile(AppProfile value)
       Required. The app profile to be created.
       Fields marked `OutputOnly` will be ignored.
       
      .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED];
    • setAppProfile

      public CreateAppProfileRequest.Builder setAppProfile(AppProfile.Builder builderForValue)
       Required. The app profile to be created.
       Fields marked `OutputOnly` will be ignored.
       
      .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeAppProfile

      public CreateAppProfileRequest.Builder mergeAppProfile(AppProfile value)
       Required. The app profile to be created.
       Fields marked `OutputOnly` will be ignored.
       
      .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearAppProfile

      public CreateAppProfileRequest.Builder clearAppProfile()
       Required. The app profile to be created.
       Fields marked `OutputOnly` will be ignored.
       
      .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED];
    • getAppProfileBuilder

      public AppProfile.Builder getAppProfileBuilder()
       Required. The app profile to be created.
       Fields marked `OutputOnly` will be ignored.
       
      .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED];
    • getAppProfileOrBuilder

      public AppProfileOrBuilder getAppProfileOrBuilder()
       Required. The app profile to be created.
       Fields marked `OutputOnly` will be ignored.
       
      .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAppProfileOrBuilder in interface CreateAppProfileRequestOrBuilder
    • getIgnoreWarnings

      public boolean getIgnoreWarnings()
       If true, ignore safety checks when creating the app profile.
       
      bool ignore_warnings = 4;
      Specified by:
      getIgnoreWarnings in interface CreateAppProfileRequestOrBuilder
      Returns:
      The ignoreWarnings.
    • setIgnoreWarnings

      public CreateAppProfileRequest.Builder setIgnoreWarnings(boolean value)
       If true, ignore safety checks when creating the app profile.
       
      bool ignore_warnings = 4;
      Parameters:
      value - The ignoreWarnings to set.
      Returns:
      This builder for chaining.
    • clearIgnoreWarnings

      public CreateAppProfileRequest.Builder clearIgnoreWarnings()
       If true, ignore safety checks when creating the app profile.
       
      bool ignore_warnings = 4;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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