Class UpdateSubnetRequest.Builder (0.35.0)

public static final class UpdateSubnetRequest.Builder extends GeneratedMessageV3.Builder<UpdateSubnetRequest.Builder> implements UpdateSubnetRequestOrBuilder

Request message for VmwareEngine.UpdateSubnet

Protobuf type google.cloud.vmwareengine.v1.UpdateSubnetRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateSubnetRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateSubnetRequest.Builder
Overrides

build()

public UpdateSubnetRequest build()
Returns
TypeDescription
UpdateSubnetRequest

buildPartial()

public UpdateSubnetRequest buildPartial()
Returns
TypeDescription
UpdateSubnetRequest

clear()

public UpdateSubnetRequest.Builder clear()
Returns
TypeDescription
UpdateSubnetRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateSubnetRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateSubnetRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateSubnetRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateSubnetRequest.Builder
Overrides

clearSubnet()

public UpdateSubnetRequest.Builder clearSubnet()

Required. Subnet description.

.google.cloud.vmwareengine.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateSubnetRequest.Builder

clearUpdateMask()

public UpdateSubnetRequest.Builder clearUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the Subnet resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateSubnetRequest.Builder

clone()

public UpdateSubnetRequest.Builder clone()
Returns
TypeDescription
UpdateSubnetRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateSubnetRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateSubnetRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSubnet()

public Subnet getSubnet()

Required. Subnet description.

.google.cloud.vmwareengine.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Subnet

The subnet.

getSubnetBuilder()

public Subnet.Builder getSubnetBuilder()

Required. Subnet description.

.google.cloud.vmwareengine.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Subnet.Builder

getSubnetOrBuilder()

public SubnetOrBuilder getSubnetOrBuilder()

Required. Subnet description.

.google.cloud.vmwareengine.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SubnetOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the Subnet resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Field mask is used to specify the fields to be overwritten in the Subnet resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Field mask is used to specify the fields to be overwritten in the Subnet resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMaskOrBuilder

hasSubnet()

public boolean hasSubnet()

Required. Subnet description.

.google.cloud.vmwareengine.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the subnet field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Field mask is used to specify the fields to be overwritten in the Subnet resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateSubnetRequest other)

public UpdateSubnetRequest.Builder mergeFrom(UpdateSubnetRequest other)
Parameter
NameDescription
otherUpdateSubnetRequest
Returns
TypeDescription
UpdateSubnetRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateSubnetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateSubnetRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateSubnetRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateSubnetRequest.Builder
Overrides

mergeSubnet(Subnet value)

public UpdateSubnetRequest.Builder mergeSubnet(Subnet value)

Required. Subnet description.

.google.cloud.vmwareengine.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueSubnet
Returns
TypeDescription
UpdateSubnetRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateSubnetRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateSubnetRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateSubnetRequest.Builder mergeUpdateMask(FieldMask value)

Required. Field mask is used to specify the fields to be overwritten in the Subnet resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateSubnetRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateSubnetRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateSubnetRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateSubnetRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateSubnetRequest.Builder
Overrides

setSubnet(Subnet value)

public UpdateSubnetRequest.Builder setSubnet(Subnet value)

Required. Subnet description.

.google.cloud.vmwareengine.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueSubnet
Returns
TypeDescription
UpdateSubnetRequest.Builder

setSubnet(Subnet.Builder builderForValue)

public UpdateSubnetRequest.Builder setSubnet(Subnet.Builder builderForValue)

Required. Subnet description.

.google.cloud.vmwareengine.v1.Subnet subnet = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueSubnet.Builder
Returns
TypeDescription
UpdateSubnetRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateSubnetRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateSubnetRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateSubnetRequest.Builder setUpdateMask(FieldMask value)

Required. Field mask is used to specify the fields to be overwritten in the Subnet resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateSubnetRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateSubnetRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Field mask is used to specify the fields to be overwritten in the Subnet resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateSubnetRequest.Builder