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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public 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.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<CreateInstanceRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<CreateInstanceRequest.Builder>
public CreateInstanceRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public CreateInstanceRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public CreateInstanceRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public CreateInstanceRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<CreateInstanceRequest.Builder>
public CreateInstanceRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<CreateInstanceRequest.Builder>
public CreateInstanceRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<CreateInstanceRequest.Builder>
public CreateInstanceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<CreateInstanceRequest.Builder>
public CreateInstanceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<CreateInstanceRequest.Builder>
public CreateInstanceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<CreateInstanceRequest.Builder>
public CreateInstanceRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<CreateInstanceRequest.Builder>
public CreateInstanceRequest.Builder mergeFrom(CreateInstanceRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<CreateInstanceRequest.Builder>
public CreateInstanceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<CreateInstanceRequest.Builder>
java.io.IOException
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 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 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 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 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 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 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 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.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<CreateInstanceRequest.Builder>
public final CreateInstanceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<CreateInstanceRequest.Builder>