public static final class CreateInstanceRequest.Builder extends GeneratedMessageV3.Builder<CreateInstanceRequest.Builder> implements CreateInstanceRequestOrBuilder
Request message for BigtableInstanceAdmin.CreateInstance.Protobuf type
google.bigtable.admin.v2.CreateInstanceRequest| Modifier and Type | Method and Description |
|---|---|
CreateInstanceRequest.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
CreateInstanceRequest |
build() |
CreateInstanceRequest |
buildPartial() |
CreateInstanceRequest.Builder |
clear() |
CreateInstanceRequest.Builder |
clearClusters() |
CreateInstanceRequest.Builder |
clearField(Descriptors.FieldDescriptor field) |
CreateInstanceRequest.Builder |
clearInstance()
The instance to create.
|
CreateInstanceRequest.Builder |
clearInstanceId()
The ID to be used when referring to the new instance within its project,
e.g., just `myinstance` rather than
`projects/myproject/instances/myinstance`.
|
CreateInstanceRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
CreateInstanceRequest.Builder |
clearParent()
The unique name of the project in which to create the new instance.
|
CreateInstanceRequest.Builder |
clone() |
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`.
|
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`.
|
CreateInstanceRequest |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
Instance |
getInstance()
The instance to create.
|
Instance.Builder |
getInstanceBuilder()
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.util.Map<java.lang.String,Cluster> |
getMutableClusters()
Deprecated.
|
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.
|
boolean |
hasInstance()
The instance to create.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected MapField |
internalGetMapField(int number) |
protected MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
CreateInstanceRequest.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
CreateInstanceRequest.Builder |
mergeFrom(CreateInstanceRequest other) |
CreateInstanceRequest.Builder |
mergeFrom(Message other) |
CreateInstanceRequest.Builder |
mergeInstance(Instance value)
The instance to create.
|
CreateInstanceRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
CreateInstanceRequest.Builder |
putAllClusters(java.util.Map<java.lang.String,Cluster> values)
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`.
|
CreateInstanceRequest.Builder |
putClusters(java.lang.String key,
Cluster value)
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`.
|
CreateInstanceRequest.Builder |
removeClusters(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`.
|
CreateInstanceRequest.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
CreateInstanceRequest.Builder |
setInstance(Instance.Builder builderForValue)
The instance to create.
|
CreateInstanceRequest.Builder |
setInstance(Instance value)
The instance to create.
|
CreateInstanceRequest.Builder |
setInstanceId(java.lang.String value)
The ID to be used when referring to the new instance within its project,
e.g., just `myinstance` rather than
`projects/myproject/instances/myinstance`.
|
CreateInstanceRequest.Builder |
setInstanceIdBytes(ByteString value)
The ID to be used when referring to the new instance within its project,
e.g., just `myinstance` rather than
`projects/myproject/instances/myinstance`.
|
CreateInstanceRequest.Builder |
setParent(java.lang.String value)
The unique name of the project in which to create the new instance.
|
CreateInstanceRequest.Builder |
setParentBytes(ByteString value)
The unique name of the project in which to create the new instance.
|
CreateInstanceRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
CreateInstanceRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField in class GeneratedMessageV3.Builder<CreateInstanceRequest.Builder>protected MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class GeneratedMessageV3.Builder<CreateInstanceRequest.Builder>protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<CreateInstanceRequest.Builder>public CreateInstanceRequest.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<CreateInstanceRequest.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<CreateInstanceRequest.Builder>public CreateInstanceRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic CreateInstanceRequest build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic CreateInstanceRequest buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic CreateInstanceRequest.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<CreateInstanceRequest.Builder>public CreateInstanceRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<CreateInstanceRequest.Builder>public CreateInstanceRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<CreateInstanceRequest.Builder>public CreateInstanceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<CreateInstanceRequest.Builder>public CreateInstanceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<CreateInstanceRequest.Builder>public CreateInstanceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<CreateInstanceRequest.Builder>public CreateInstanceRequest.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<CreateInstanceRequest.Builder>public CreateInstanceRequest.Builder mergeFrom(CreateInstanceRequest other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<CreateInstanceRequest.Builder>public CreateInstanceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<CreateInstanceRequest.Builder>java.io.IOExceptionpublic 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 CreateInstanceRequest.Builder setParent(java.lang.String value)
The unique name of the project in which to create the new instance. Values are of the form `projects/<project>`.
string parent = 1;public CreateInstanceRequest.Builder clearParent()
The unique name of the project in which to create the new instance. Values are of the form `projects/<project>`.
string parent = 1;public CreateInstanceRequest.Builder setParentBytes(ByteString value)
The unique name of the project in which to create the new instance. Values are of the form `projects/<project>`.
string parent = 1;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 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 CreateInstanceRequest.Builder setInstanceId(java.lang.String value)
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;public CreateInstanceRequest.Builder clearInstanceId()
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;public CreateInstanceRequest.Builder setInstanceIdBytes(ByteString value)
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;public 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 CreateInstanceRequest.Builder setInstance(Instance value)
The instance to create. Fields marked `OutputOnly` must be left blank.
.google.bigtable.admin.v2.Instance instance = 3;public CreateInstanceRequest.Builder setInstance(Instance.Builder builderForValue)
The instance to create. Fields marked `OutputOnly` must be left blank.
.google.bigtable.admin.v2.Instance instance = 3;public CreateInstanceRequest.Builder mergeInstance(Instance value)
The instance to create. Fields marked `OutputOnly` must be left blank.
.google.bigtable.admin.v2.Instance instance = 3;public CreateInstanceRequest.Builder clearInstance()
The instance to create. Fields marked `OutputOnly` must be left blank.
.google.bigtable.admin.v2.Instance instance = 3;public Instance.Builder getInstanceBuilder()
The instance to create. Fields marked `OutputOnly` must be left blank.
.google.bigtable.admin.v2.Instance instance = 3;public 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 CreateInstanceRequest.Builder clearClusters()
public CreateInstanceRequest.Builder removeClusters(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;@Deprecated public java.util.Map<java.lang.String,Cluster> getMutableClusters()
public CreateInstanceRequest.Builder putClusters(java.lang.String key, Cluster value)
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;public CreateInstanceRequest.Builder putAllClusters(java.util.Map<java.lang.String,Cluster> values)
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;public final CreateInstanceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<CreateInstanceRequest.Builder>public final CreateInstanceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<CreateInstanceRequest.Builder>