public static final class ExportInstanceRequest.Builder extends GeneratedMessageV3.Builder<ExportInstanceRequest.Builder> implements ExportInstanceRequestOrBuilder
Request for Export.
Protobuf type google.cloud.redis.v1beta1.ExportInstanceRequest
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExportInstanceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ExportInstanceRequest build()
Returns
buildPartial()
public ExportInstanceRequest buildPartial()
Returns
clear()
public ExportInstanceRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ExportInstanceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public ExportInstanceRequest.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];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ExportInstanceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearOutputConfig()
public ExportInstanceRequest.Builder clearOutputConfig()
Required. Specify data to be exported.
.google.cloud.redis.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public ExportInstanceRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ExportInstanceRequest getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
getOutputConfig()
public OutputConfig getOutputConfig()
Required. Specify data to be exported.
.google.cloud.redis.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getOutputConfigBuilder()
public OutputConfig.Builder getOutputConfigBuilder()
Required. Specify data to be exported.
.google.cloud.redis.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getOutputConfigOrBuilder()
public OutputConfigOrBuilder getOutputConfigOrBuilder()
Required. Specify data to be exported.
.google.cloud.redis.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
hasOutputConfig()
public boolean hasOutputConfig()
Required. Specify data to be exported.
.google.cloud.redis.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the outputConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ExportInstanceRequest other)
public ExportInstanceRequest.Builder mergeFrom(ExportInstanceRequest other)
Parameter
Returns
public ExportInstanceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ExportInstanceRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeOutputConfig(OutputConfig value)
public ExportInstanceRequest.Builder mergeOutputConfig(OutputConfig value)
Required. Specify data to be exported.
.google.cloud.redis.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExportInstanceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ExportInstanceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public ExportInstanceRequest.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.
|
Returns
setNameBytes(ByteString value)
public ExportInstanceRequest.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.
|
Returns
setOutputConfig(OutputConfig value)
public ExportInstanceRequest.Builder setOutputConfig(OutputConfig value)
Required. Specify data to be exported.
.google.cloud.redis.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setOutputConfig(OutputConfig.Builder builderForValue)
public ExportInstanceRequest.Builder setOutputConfig(OutputConfig.Builder builderForValue)
Required. Specify data to be exported.
.google.cloud.redis.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExportInstanceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ExportInstanceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides