Class CreateAppProfileRequest (2.11.0)

public final class CreateAppProfileRequest extends GeneratedMessageV3 implements CreateAppProfileRequestOrBuilder

Request message for BigtableInstanceAdmin.CreateAppProfile.

Protobuf type google.bigtable.admin.v2.CreateAppProfileRequest

Static Fields

APP_PROFILE_FIELD_NUMBER

public static final int APP_PROFILE_FIELD_NUMBER
Field Value
TypeDescription
int

APP_PROFILE_ID_FIELD_NUMBER

public static final int APP_PROFILE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

IGNORE_WARNINGS_FIELD_NUMBER

public static final int IGNORE_WARNINGS_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateAppProfileRequest getDefaultInstance()
Returns
TypeDescription
CreateAppProfileRequest

getDescriptor()

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

newBuilder()

public static CreateAppProfileRequest.Builder newBuilder()
Returns
TypeDescription
CreateAppProfileRequest.Builder

newBuilder(CreateAppProfileRequest prototype)

public static CreateAppProfileRequest.Builder newBuilder(CreateAppProfileRequest prototype)
Parameter
NameDescription
prototypeCreateAppProfileRequest
Returns
TypeDescription
CreateAppProfileRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateAppProfileRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateAppProfileRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateAppProfileRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateAppProfileRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CreateAppProfileRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CreateAppProfileRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateAppProfileRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateAppProfileRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateAppProfileRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CreateAppProfileRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateAppProfileRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateAppProfileRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateAppProfileRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateAppProfileRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateAppProfileRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateAppProfileRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CreateAppProfileRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateAppProfileRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateAppProfileRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateAppProfileRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CreateAppProfileRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateAppProfileRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateAppProfileRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateAppProfileRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CreateAppProfileRequest> parser()
Returns
TypeDescription
Parser<CreateAppProfileRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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

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.

getParserForType()

public Parser<CreateAppProfileRequest> getParserForType()
Returns
TypeDescription
Parser<CreateAppProfileRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CreateAppProfileRequest.Builder newBuilderForType()
Returns
TypeDescription
CreateAppProfileRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateAppProfileRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CreateAppProfileRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CreateAppProfileRequest.Builder toBuilder()
Returns
TypeDescription
CreateAppProfileRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException