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, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public 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 CreateInstanceRequestOrBuilder
public 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 CreateInstanceRequestOrBuilder
public 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 CreateInstanceRequestOrBuilder
public 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 CreateInstanceRequestOrBuilder
public boolean hasInstance()
The instance to create. Fields marked `OutputOnly` must be left blank.
.google.bigtable.admin.v2.Instance instance = 3;
hasInstance
in interface CreateInstanceRequestOrBuilder
public Instance getInstance()
The instance to create. Fields marked `OutputOnly` must be left blank.
.google.bigtable.admin.v2.Instance instance = 3;
getInstance
in interface CreateInstanceRequestOrBuilder
public InstanceOrBuilder getInstanceOrBuilder()
The instance to create. Fields marked `OutputOnly` must be left blank.
.google.bigtable.admin.v2.Instance instance = 3;
getInstanceOrBuilder
in interface CreateInstanceRequestOrBuilder
public int getClustersCount()
CreateInstanceRequestOrBuilder
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;
getClustersCount
in interface CreateInstanceRequestOrBuilder
public 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 CreateInstanceRequestOrBuilder
public 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 CreateInstanceRequestOrBuilder
public 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 CreateInstanceRequestOrBuilder
public 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 CreateInstanceRequestOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static CreateInstanceRequest parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CreateInstanceRequest parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CreateInstanceRequest parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CreateInstanceRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CreateInstanceRequest parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CreateInstanceRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CreateInstanceRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static CreateInstanceRequest parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static CreateInstanceRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static CreateInstanceRequest parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static CreateInstanceRequest parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static CreateInstanceRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public CreateInstanceRequest.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static CreateInstanceRequest.Builder newBuilder()
public static CreateInstanceRequest.Builder newBuilder(CreateInstanceRequest prototype)
public CreateInstanceRequest.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected CreateInstanceRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static CreateInstanceRequest getDefaultInstance()
public static Parser<CreateInstanceRequest> parser()
public Parser<CreateInstanceRequest> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public CreateInstanceRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder