Class CreateInstanceRequest.Builder (2.7.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 2.81.0 (latest)
- 2.79.0
- 2.78.0
- 2.77.0
- 2.76.0
- 2.75.0
- 2.73.0
- 2.71.0
- 2.70.0
- 2.67.0
- 2.66.0
- 2.65.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.5
- 2.5.0
- 2.4.1
- 2.3.0
- 2.2.0
- 2.1.1
publicstaticfinalclass CreateInstanceRequest.BuilderextendsGeneratedMessageV3.Builder<CreateInstanceRequest.Builder>implementsCreateInstanceRequestOrBuilderRequest for CreateInstance.
Protobuf type google.cloud.redis.v1beta1.CreateInstanceRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateInstanceRequest.BuilderImplements
CreateInstanceRequestOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicCreateInstanceRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)build()
publicCreateInstanceRequestbuild()buildPartial()
publicCreateInstanceRequestbuildPartial()clear()
publicCreateInstanceRequest.Builderclear()clearField(Descriptors.FieldDescriptor field)
publicCreateInstanceRequest.BuilderclearField(Descriptors.FieldDescriptorfield)clearInstance()
publicCreateInstanceRequest.BuilderclearInstance()Required. A Redis [Instance] resource
.google.cloud.redis.v1beta1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED];
clearInstanceId()
publicCreateInstanceRequest.BuilderclearInstanceId()Required. The logical name of the Redis instance in the customer project with the following restrictions:
- Must contain only lowercase letters, numbers, and hyphens.
- Must start with a letter.
- Must be between 1-40 characters.
- Must end with a number or a letter.
- Must be unique within the customer project / location
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];
This builder for chaining.
clearOneof(Descriptors.OneofDescriptor oneof)
publicCreateInstanceRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)clearParent()
publicCreateInstanceRequest.BuilderclearParent() Required. The resource name of the instance location using the form:
projects/{project_id}/locations/{location_id}
where location_id refers to a GCP region.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
This builder for chaining.
clone()
publicCreateInstanceRequest.Builderclone()getDefaultInstanceForType()
publicCreateInstanceRequestgetDefaultInstanceForType()getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()getInstance()
publicInstancegetInstance()Required. A Redis [Instance] resource
.google.cloud.redis.v1beta1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED];
The instance.
getInstanceBuilder()
publicInstance.BuildergetInstanceBuilder()Required. A Redis [Instance] resource
.google.cloud.redis.v1beta1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED];
getInstanceId()
publicStringgetInstanceId()Required. The logical name of the Redis instance in the customer project with the following restrictions:
- Must contain only lowercase letters, numbers, and hyphens.
- Must start with a letter.
- Must be between 1-40 characters.
- Must end with a number or a letter.
- Must be unique within the customer project / location
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];
The instanceId.
getInstanceIdBytes()
publicByteStringgetInstanceIdBytes()Required. The logical name of the Redis instance in the customer project with the following restrictions:
- Must contain only lowercase letters, numbers, and hyphens.
- Must start with a letter.
- Must be between 1-40 characters.
- Must end with a number or a letter.
- Must be unique within the customer project / location
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];
The bytes for instanceId.
getInstanceOrBuilder()
publicInstanceOrBuildergetInstanceOrBuilder()Required. A Redis [Instance] resource
.google.cloud.redis.v1beta1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED];
getParent()
publicStringgetParent() Required. The resource name of the instance location using the form:
projects/{project_id}/locations/{location_id}
where location_id refers to a GCP region.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
The parent.
getParentBytes()
publicByteStringgetParentBytes() Required. The resource name of the instance location using the form:
projects/{project_id}/locations/{location_id}
where location_id refers to a GCP region.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
The bytes for parent.
hasInstance()
publicbooleanhasInstance()Required. A Redis [Instance] resource
.google.cloud.redis.v1beta1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED];
Whether the instance field is set.
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()isInitialized()
publicfinalbooleanisInitialized()mergeFrom(CreateInstanceRequest other)
publicCreateInstanceRequest.BuildermergeFrom(CreateInstanceRequestother)mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicCreateInstanceRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)mergeFrom(Message other)
publicCreateInstanceRequest.BuildermergeFrom(Messageother)mergeInstance(Instance value)
publicCreateInstanceRequest.BuildermergeInstance(Instancevalue)Required. A Redis [Instance] resource
.google.cloud.redis.v1beta1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalCreateInstanceRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)setField(Descriptors.FieldDescriptor field, Object value)
publicCreateInstanceRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)setInstance(Instance value)
publicCreateInstanceRequest.BuildersetInstance(Instancevalue)Required. A Redis [Instance] resource
.google.cloud.redis.v1beta1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED];
setInstance(Instance.Builder builderForValue)
publicCreateInstanceRequest.BuildersetInstance(Instance.BuilderbuilderForValue)Required. A Redis [Instance] resource
.google.cloud.redis.v1beta1.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED];
setInstanceId(String value)
publicCreateInstanceRequest.BuildersetInstanceId(Stringvalue)Required. The logical name of the Redis instance in the customer project with the following restrictions:
- Must contain only lowercase letters, numbers, and hyphens.
- Must start with a letter.
- Must be between 1-40 characters.
- Must end with a number or a letter.
- Must be unique within the customer project / location
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];
This builder for chaining.
setInstanceIdBytes(ByteString value)
publicCreateInstanceRequest.BuildersetInstanceIdBytes(ByteStringvalue)Required. The logical name of the Redis instance in the customer project with the following restrictions:
- Must contain only lowercase letters, numbers, and hyphens.
- Must start with a letter.
- Must be between 1-40 characters.
- Must end with a number or a letter.
- Must be unique within the customer project / location
string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];
This builder for chaining.
setParent(String value)
publicCreateInstanceRequest.BuildersetParent(Stringvalue) Required. The resource name of the instance location using the form:
projects/{project_id}/locations/{location_id}
where location_id refers to a GCP region.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
This builder for chaining.
setParentBytes(ByteString value)
publicCreateInstanceRequest.BuildersetParentBytes(ByteStringvalue) Required. The resource name of the instance location using the form:
projects/{project_id}/locations/{location_id}
where location_id refers to a GCP region.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
This builder for chaining.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicCreateInstanceRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)setUnknownFields(UnknownFieldSet unknownFields)
publicfinalCreateInstanceRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)