public final class CreateInstanceRequest extends GeneratedMessageV3 implements CreateInstanceRequestOrBuilder
Request message for BigtableInstanceAdmin.CreateInstance.Protobuf type
google.bigtable.admin.v2.CreateInstanceRequest| Modifier and Type | Class and Description |
|---|---|
static class |
CreateInstanceRequest.Builder
Request message for BigtableInstanceAdmin.CreateInstance.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CLUSTERS_FIELD_NUMBER |
static int |
INSTANCE_FIELD_NUMBER |
static int |
INSTANCE_ID_FIELD_NUMBER |
static int |
PARENT_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
containsClusters(java.lang.String key)
The clusters to be created within the instance, mapped by desired
cluster ID, e.g., just `mycluster` rather than
`projects/myproject/instances/myinstance/clusters/mycluster`.
|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,Cluster> |
getClusters()
Deprecated.
|
int |
getClustersCount()
The clusters to be created within the instance, mapped by desired
cluster ID, e.g., just `mycluster` rather than
`projects/myproject/instances/myinstance/clusters/mycluster`.
|
java.util.Map<java.lang.String,Cluster> |
getClustersMap()
The clusters to be created within the instance, mapped by desired
cluster ID, e.g., just `mycluster` rather than
`projects/myproject/instances/myinstance/clusters/mycluster`.
|
Cluster |
getClustersOrDefault(java.lang.String key,
Cluster defaultValue)
The clusters to be created within the instance, mapped by desired
cluster ID, e.g., just `mycluster` rather than
`projects/myproject/instances/myinstance/clusters/mycluster`.
|
Cluster |
getClustersOrThrow(java.lang.String key)
The clusters to be created within the instance, mapped by desired
cluster ID, e.g., just `mycluster` rather than
`projects/myproject/instances/myinstance/clusters/mycluster`.
|
static CreateInstanceRequest |
getDefaultInstance() |
CreateInstanceRequest |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Instance |
getInstance()
The instance to create.
|
java.lang.String |
getInstanceId()
The ID to be used when referring to the new instance within its project,
e.g., just `myinstance` rather than
`projects/myproject/instances/myinstance`.
|
ByteString |
getInstanceIdBytes()
The ID to be used when referring to the new instance within its project,
e.g., just `myinstance` rather than
`projects/myproject/instances/myinstance`.
|
InstanceOrBuilder |
getInstanceOrBuilder()
The instance to create.
|
java.lang.String |
getParent()
The unique name of the project in which to create the new instance.
|
ByteString |
getParentBytes()
The unique name of the project in which to create the new instance.
|
Parser<CreateInstanceRequest> |
getParserForType() |
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasInstance()
The instance to create.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static CreateInstanceRequest.Builder |
newBuilder() |
static CreateInstanceRequest.Builder |
newBuilder(CreateInstanceRequest prototype) |
CreateInstanceRequest.Builder |
newBuilderForType() |
protected CreateInstanceRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static CreateInstanceRequest |
parseDelimitedFrom(java.io.InputStream input) |
static CreateInstanceRequest |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static CreateInstanceRequest |
parseFrom(byte[] data) |
static CreateInstanceRequest |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static CreateInstanceRequest |
parseFrom(java.nio.ByteBuffer data) |
static CreateInstanceRequest |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static CreateInstanceRequest |
parseFrom(ByteString data) |
static CreateInstanceRequest |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static CreateInstanceRequest |
parseFrom(CodedInputStream input) |
static CreateInstanceRequest |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static CreateInstanceRequest |
parseFrom(java.io.InputStream input) |
static CreateInstanceRequest |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<CreateInstanceRequest> |
parser() |
CreateInstanceRequest.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int PARENT_FIELD_NUMBER
public static final int INSTANCE_ID_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER
public static final int CLUSTERS_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField in class GeneratedMessageV3protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public java.lang.String getParent()
The unique name of the project in which to create the new instance. Values are of the form `projects/<project>`.
string parent = 1;getParent in interface CreateInstanceRequestOrBuilderpublic ByteString getParentBytes()
The unique name of the project in which to create the new instance. Values are of the form `projects/<project>`.
string parent = 1;getParentBytes in interface CreateInstanceRequestOrBuilderpublic java.lang.String getInstanceId()
The ID to be used when referring to the new instance within its project, e.g., just `myinstance` rather than `projects/myproject/instances/myinstance`.
string instance_id = 2;getInstanceId in interface CreateInstanceRequestOrBuilderpublic ByteString getInstanceIdBytes()
The ID to be used when referring to the new instance within its project, e.g., just `myinstance` rather than `projects/myproject/instances/myinstance`.
string instance_id = 2;getInstanceIdBytes in interface CreateInstanceRequestOrBuilderpublic boolean hasInstance()
The instance to create. Fields marked `OutputOnly` must be left blank.
.google.bigtable.admin.v2.Instance instance = 3;hasInstance in interface CreateInstanceRequestOrBuilderpublic Instance getInstance()
The instance to create. Fields marked `OutputOnly` must be left blank.
.google.bigtable.admin.v2.Instance instance = 3;getInstance in interface CreateInstanceRequestOrBuilderpublic InstanceOrBuilder getInstanceOrBuilder()
The instance to create. Fields marked `OutputOnly` must be left blank.
.google.bigtable.admin.v2.Instance instance = 3;getInstanceOrBuilder in interface CreateInstanceRequestOrBuilderpublic int getClustersCount()
CreateInstanceRequestOrBuilderThe clusters to be created within the instance, mapped by desired cluster ID, e.g., just `mycluster` rather than `projects/myproject/instances/myinstance/clusters/mycluster`. Fields marked `OutputOnly` must be left blank. Currently exactly one cluster must be specified.
map<string, .google.bigtable.admin.v2.Cluster> clusters = 4;getClustersCount in interface CreateInstanceRequestOrBuilderpublic boolean containsClusters(java.lang.String key)
The clusters to be created within the instance, mapped by desired cluster ID, e.g., just `mycluster` rather than `projects/myproject/instances/myinstance/clusters/mycluster`. Fields marked `OutputOnly` must be left blank. Currently exactly one cluster must be specified.
map<string, .google.bigtable.admin.v2.Cluster> clusters = 4;containsClusters in interface CreateInstanceRequestOrBuilder@Deprecated public java.util.Map<java.lang.String,Cluster> getClusters()
getClustersMap() instead.getClusters in interface CreateInstanceRequestOrBuilderpublic java.util.Map<java.lang.String,Cluster> getClustersMap()
The clusters to be created within the instance, mapped by desired cluster ID, e.g., just `mycluster` rather than `projects/myproject/instances/myinstance/clusters/mycluster`. Fields marked `OutputOnly` must be left blank. Currently exactly one cluster must be specified.
map<string, .google.bigtable.admin.v2.Cluster> clusters = 4;getClustersMap in interface CreateInstanceRequestOrBuilderpublic Cluster getClustersOrDefault(java.lang.String key, Cluster defaultValue)
The clusters to be created within the instance, mapped by desired cluster ID, e.g., just `mycluster` rather than `projects/myproject/instances/myinstance/clusters/mycluster`. Fields marked `OutputOnly` must be left blank. Currently exactly one cluster must be specified.
map<string, .google.bigtable.admin.v2.Cluster> clusters = 4;getClustersOrDefault in interface CreateInstanceRequestOrBuilderpublic Cluster getClustersOrThrow(java.lang.String key)
The clusters to be created within the instance, mapped by desired cluster ID, e.g., just `mycluster` rather than `projects/myproject/instances/myinstance/clusters/mycluster`. Fields marked `OutputOnly` must be left blank. Currently exactly one cluster must be specified.
map<string, .google.bigtable.admin.v2.Cluster> clusters = 4;getClustersOrThrow in interface CreateInstanceRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static CreateInstanceRequest parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static CreateInstanceRequest parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static CreateInstanceRequest parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static CreateInstanceRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static CreateInstanceRequest parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static CreateInstanceRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static CreateInstanceRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CreateInstanceRequest parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CreateInstanceRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CreateInstanceRequest parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CreateInstanceRequest parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CreateInstanceRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic CreateInstanceRequest.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static CreateInstanceRequest.Builder newBuilder()
public static CreateInstanceRequest.Builder newBuilder(CreateInstanceRequest prototype)
public CreateInstanceRequest.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected CreateInstanceRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static CreateInstanceRequest getDefaultInstance()
public static Parser<CreateInstanceRequest> parser()
public Parser<CreateInstanceRequest> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public CreateInstanceRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder