public static final class UpdateGatewayRequest.Builder extends GeneratedMessageV3.Builder<UpdateGatewayRequest.Builder> implements UpdateGatewayRequestOrBuilder
Request used by the UpdateGateway method.
Protobuf type google.cloud.networkservices.v1.UpdateGatewayRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 UpdateGatewayRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateGatewayRequest build()
buildPartial()
public UpdateGatewayRequest buildPartial()
clear()
public UpdateGatewayRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateGatewayRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGateway()
public UpdateGatewayRequest.Builder clearGateway()
Required. Updated Gateway resource.
.google.cloud.networkservices.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateGatewayRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateGatewayRequest.Builder clearUpdateMask()
Optional. Field mask is used to specify the fields to be overwritten in the
Gateway 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) = OPTIONAL];
clone()
public UpdateGatewayRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateGatewayRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGateway()
public Gateway getGateway()
Required. Updated Gateway resource.
.google.cloud.networkservices.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Gateway |
The gateway.
|
getGatewayBuilder()
public Gateway.Builder getGatewayBuilder()
Required. Updated Gateway resource.
.google.cloud.networkservices.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];
getGatewayOrBuilder()
public GatewayOrBuilder getGatewayOrBuilder()
Required. Updated Gateway resource.
.google.cloud.networkservices.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];
getUpdateMask()
public FieldMask getUpdateMask()
Optional. Field mask is used to specify the fields to be overwritten in the
Gateway 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) = OPTIONAL];
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Optional. Field mask is used to specify the fields to be overwritten in the
Gateway 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) = OPTIONAL];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. Field mask is used to specify the fields to be overwritten in the
Gateway 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) = OPTIONAL];
hasGateway()
public boolean hasGateway()
Required. Updated Gateway resource.
.google.cloud.networkservices.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the gateway field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Optional. Field mask is used to specify the fields to be overwritten in the
Gateway 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) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateGatewayRequest other)
public UpdateGatewayRequest.Builder mergeFrom(UpdateGatewayRequest other)
public UpdateGatewayRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateGatewayRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeGateway(Gateway value)
public UpdateGatewayRequest.Builder mergeGateway(Gateway value)
Required. Updated Gateway resource.
.google.cloud.networkservices.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Gateway
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateGatewayRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateGatewayRequest.Builder mergeUpdateMask(FieldMask value)
Optional. Field mask is used to specify the fields to be overwritten in the
Gateway 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) = OPTIONAL];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateGatewayRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGateway(Gateway value)
public UpdateGatewayRequest.Builder setGateway(Gateway value)
Required. Updated Gateway resource.
.google.cloud.networkservices.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Gateway
|
setGateway(Gateway.Builder builderForValue)
public UpdateGatewayRequest.Builder setGateway(Gateway.Builder builderForValue)
Required. Updated Gateway resource.
.google.cloud.networkservices.v1.Gateway gateway = 2 [(.google.api.field_behavior) = REQUIRED];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateGatewayRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateGatewayRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateGatewayRequest.Builder setUpdateMask(FieldMask value)
Optional. Field mask is used to specify the fields to be overwritten in the
Gateway 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) = OPTIONAL];
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateGatewayRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Optional. Field mask is used to specify the fields to be overwritten in the
Gateway 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) = OPTIONAL];
Parameter |
Name |
Description |
builderForValue |
Builder
|