Class CreateAppProfileRequest.Builder (2.14.0)

public static final class CreateAppProfileRequest.Builder extends GeneratedMessageV3.Builder<CreateAppProfileRequest.Builder> implements CreateAppProfileRequestOrBuilder

Request message for BigtableInstanceAdmin.CreateAppProfile.

Protobuf type google.bigtable.admin.v2.CreateAppProfileRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateAppProfileRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateAppProfileRequest.Builder
Overrides

build()

public CreateAppProfileRequest build()
Returns
TypeDescription
CreateAppProfileRequest

buildPartial()

public CreateAppProfileRequest buildPartial()
Returns
TypeDescription
CreateAppProfileRequest

clear()

public CreateAppProfileRequest.Builder clear()
Returns
TypeDescription
CreateAppProfileRequest.Builder
Overrides

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];

Returns
TypeDescription
CreateAppProfileRequest.Builder

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
TypeDescription
CreateAppProfileRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CreateAppProfileRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateAppProfileRequest.Builder
Overrides

clearIgnoreWarnings()

public CreateAppProfileRequest.Builder clearIgnoreWarnings()

If true, ignore safety checks when creating the app profile.

bool ignore_warnings = 4;

Returns
TypeDescription
CreateAppProfileRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateAppProfileRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreateAppProfileRequest.Builder
Overrides

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
TypeDescription
CreateAppProfileRequest.Builder

This builder for chaining.

clone()

public CreateAppProfileRequest.Builder clone()
Returns
TypeDescription
CreateAppProfileRequest.Builder
Overrides

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];

Returns
TypeDescription
AppProfile

The appProfile.

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];

Returns
TypeDescription
AppProfile.Builder

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];

Returns
TypeDescription
String

The appProfileId.

getAppProfileIdBytes()

public 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];

Returns
TypeDescription
ByteString

The bytes for appProfileId.

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];

Returns
TypeDescription
AppProfileOrBuilder

getDefaultInstanceForType()

public CreateAppProfileRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateAppProfileRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIgnoreWarnings()

public boolean getIgnoreWarnings()

If true, ignore safety checks when creating the app profile.

bool ignore_warnings = 4;

Returns
TypeDescription
boolean

The ignoreWarnings.

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) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public 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) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

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];

Returns
TypeDescription
boolean

Whether the appProfile field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAppProfile(AppProfile value)

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];

Parameter
NameDescription
valueAppProfile
Returns
TypeDescription
CreateAppProfileRequest.Builder

mergeFrom(CreateAppProfileRequest other)

public CreateAppProfileRequest.Builder mergeFrom(CreateAppProfileRequest other)
Parameter
NameDescription
otherCreateAppProfileRequest
Returns
TypeDescription
CreateAppProfileRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateAppProfileRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateAppProfileRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateAppProfileRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateAppProfileRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateAppProfileRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateAppProfileRequest.Builder
Overrides

setAppProfile(AppProfile value)

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];

Parameter
NameDescription
valueAppProfile
Returns
TypeDescription
CreateAppProfileRequest.Builder

setAppProfile(AppProfile.Builder builderForValue)

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];

Parameter
NameDescription
builderForValueAppProfile.Builder
Returns
TypeDescription
CreateAppProfileRequest.Builder

setAppProfileId(String value)

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];

Parameter
NameDescription
valueString

The appProfileId to set.

Returns
TypeDescription
CreateAppProfileRequest.Builder

This builder for chaining.

setAppProfileIdBytes(ByteString value)

public CreateAppProfileRequest.Builder setAppProfileIdBytes(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];

Parameter
NameDescription
valueByteString

The bytes for appProfileId to set.

Returns
TypeDescription
CreateAppProfileRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CreateAppProfileRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateAppProfileRequest.Builder
Overrides

setIgnoreWarnings(boolean value)

public CreateAppProfileRequest.Builder setIgnoreWarnings(boolean value)

If true, ignore safety checks when creating the app profile.

bool ignore_warnings = 4;

Parameter
NameDescription
valueboolean

The ignoreWarnings to set.

Returns
TypeDescription
CreateAppProfileRequest.Builder

This builder for chaining.

setParent(String value)

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) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
CreateAppProfileRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateAppProfileRequest.Builder setParentBytes(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) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
CreateAppProfileRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateAppProfileRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateAppProfileRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateAppProfileRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateAppProfileRequest.Builder
Overrides