public static final class ImportInstanceRequest.Builder extends GeneratedMessageV3.Builder<ImportInstanceRequest.Builder> implements ImportInstanceRequestOrBuilder
Request for Import.
Protobuf type google.cloud.redis.v1beta1.ImportInstanceRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportInstanceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ImportInstanceRequest build()
buildPartial()
public ImportInstanceRequest buildPartial()
clear()
public ImportInstanceRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ImportInstanceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ImportInstanceRequest.Builder clearInputConfig()
Required. Specify data to be imported.
.google.cloud.redis.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
clearName()
public ImportInstanceRequest.Builder clearName()
Required. Redis instance resource name using the form:
projects/{project_id}/locations/{location_id}/instances/{instance_id}
where location_id
refers to a GCP region.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportInstanceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ImportInstanceRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public ImportInstanceRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public InputConfig getInputConfig()
Required. Specify data to be imported.
.google.cloud.redis.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
public InputConfig.Builder getInputConfigBuilder()
Required. Specify data to be imported.
.google.cloud.redis.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
public InputConfigOrBuilder getInputConfigOrBuilder()
Required. Specify data to be imported.
.google.cloud.redis.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
getName()
Required. Redis instance resource name using the form:
projects/{project_id}/locations/{location_id}/instances/{instance_id}
where location_id
refers to a GCP region.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. Redis instance resource name using the form:
projects/{project_id}/locations/{location_id}/instances/{instance_id}
where location_id
refers to a GCP region.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
public boolean hasInputConfig()
Required. Specify data to be imported.
.google.cloud.redis.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the inputConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ImportInstanceRequest other)
public ImportInstanceRequest.Builder mergeFrom(ImportInstanceRequest other)
public ImportInstanceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ImportInstanceRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public ImportInstanceRequest.Builder mergeInputConfig(InputConfig value)
Required. Specify data to be imported.
.google.cloud.redis.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportInstanceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ImportInstanceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ImportInstanceRequest.Builder setInputConfig(InputConfig value)
Required. Specify data to be imported.
.google.cloud.redis.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
public ImportInstanceRequest.Builder setInputConfig(InputConfig.Builder builderForValue)
Required. Specify data to be imported.
.google.cloud.redis.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
setName(String value)
public ImportInstanceRequest.Builder setName(String value)
Required. Redis instance resource name using the form:
projects/{project_id}/locations/{location_id}/instances/{instance_id}
where location_id
refers to a GCP region.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | String
The name to set.
|
setNameBytes(ByteString value)
public ImportInstanceRequest.Builder setNameBytes(ByteString value)
Required. Redis instance resource name using the form:
projects/{project_id}/locations/{location_id}/instances/{instance_id}
where location_id
refers to a GCP region.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportInstanceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportInstanceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides