Send feedback
Class ImportInstanceRequest.Builder (2.3.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.3.0 keyboard_arrow_down
public static final class ImportInstanceRequest . Builder extends GeneratedMessageV3 . Builder<ImportInstanceRequest . Builder> implements ImportInstanceRequestOrBuilder
Request for Import .
Protobuf type google.cloud.redis.v1beta1.ImportInstanceRequest
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportInstanceRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ImportInstanceRequest build ()
Returns
buildPartial()
public ImportInstanceRequest buildPartial ()
Returns
clear()
public ImportInstanceRequest . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ImportInstanceRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
public ImportInstanceRequest . Builder clearInputConfig ()
Required. Specify data to be imported.
.google.cloud.redis.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
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];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportInstanceRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public ImportInstanceRequest . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public ImportInstanceRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
public InputConfig getInputConfig ()
Required. Specify data to be imported.
.google.cloud.redis.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
public InputConfig . Builder getInputConfigBuilder ()
Required. Specify data to be imported.
.google.cloud.redis.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
public InputConfigOrBuilder getInputConfigOrBuilder ()
Required. Specify data to be imported.
.google.cloud.redis.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
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
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 ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(ImportInstanceRequest other)
public ImportInstanceRequest . Builder mergeFrom ( ImportInstanceRequest other )
Parameter
Returns
public ImportInstanceRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ImportInstanceRequest . Builder mergeFrom ( Message other )
Parameter
Returns
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];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportInstanceRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ImportInstanceRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
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];
Parameter
Returns
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];
Parameter
Returns
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.
Returns
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.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportInstanceRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportInstanceRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-04 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-10-04 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-04 UTC."]]