public static final class VmSelectionConfig.Builder extends GeneratedMessageV3.Builder<VmSelectionConfig.Builder> implements VmSelectionConfigOrBuilder
VM selection configuration message
Protobuf type google.cloud.clouddms.v1.VmSelectionConfig
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VmSelectionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public VmSelectionConfig build()
Returns
buildPartial()
public VmSelectionConfig buildPartial()
Returns
clear()
public VmSelectionConfig.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public VmSelectionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public VmSelectionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearVmZone()
public VmSelectionConfig.Builder clearVmZone()
Required. The Google Cloud Platform zone the VM is located.
string vm_zone = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public VmSelectionConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public VmSelectionConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getVmZone()
public String getVmZone()
Required. The Google Cloud Platform zone the VM is located.
string vm_zone = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The vmZone.
|
getVmZoneBytes()
public ByteString getVmZoneBytes()
Required. The Google Cloud Platform zone the VM is located.
string vm_zone = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(VmSelectionConfig other)
public VmSelectionConfig.Builder mergeFrom(VmSelectionConfig other)
Parameter
Returns
public VmSelectionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public VmSelectionConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VmSelectionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public VmSelectionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VmSelectionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final VmSelectionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setVmZone(String value)
public VmSelectionConfig.Builder setVmZone(String value)
Required. The Google Cloud Platform zone the VM is located.
string vm_zone = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The vmZone to set.
|
Returns
setVmZoneBytes(ByteString value)
public VmSelectionConfig.Builder setVmZoneBytes(ByteString value)
Required. The Google Cloud Platform zone the VM is located.
string vm_zone = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for vmZone to set.
|
Returns