Class UpdateAgentGatewayRequest.Builder (0.50.0)

public static final class UpdateAgentGatewayRequest.Builder extends GeneratedMessage.Builder<UpdateAgentGatewayRequest.Builder> implements UpdateAgentGatewayRequestOrBuilder

Request used by the UpdateAgentGateway method.

Protobuf type google.cloud.networkservices.v1.UpdateAgentGatewayRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public UpdateAgentGatewayRequest build()
Returns
Type Description
UpdateAgentGatewayRequest

buildPartial()

public UpdateAgentGatewayRequest buildPartial()
Returns
Type Description
UpdateAgentGatewayRequest

clear()

public UpdateAgentGatewayRequest.Builder clear()
Returns
Type Description
UpdateAgentGatewayRequest.Builder
Overrides

clearAgentGateway()

public UpdateAgentGatewayRequest.Builder clearAgentGateway()

Required. Updated AgentGateway resource.

.google.cloud.networkservices.v1.AgentGateway agent_gateway = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateAgentGatewayRequest.Builder

clearUpdateMask()

public UpdateAgentGatewayRequest.Builder clearUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten in the AgentGateway 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
UpdateAgentGatewayRequest.Builder

getAgentGateway()

public AgentGateway getAgentGateway()

Required. Updated AgentGateway resource.

.google.cloud.networkservices.v1.AgentGateway agent_gateway = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AgentGateway

The agentGateway.

getAgentGatewayBuilder()

public AgentGateway.Builder getAgentGatewayBuilder()

Required. Updated AgentGateway resource.

.google.cloud.networkservices.v1.AgentGateway agent_gateway = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AgentGateway.Builder

getAgentGatewayOrBuilder()

public AgentGatewayOrBuilder getAgentGatewayOrBuilder()

Required. Updated AgentGateway resource.

.google.cloud.networkservices.v1.AgentGateway agent_gateway = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AgentGatewayOrBuilder

getDefaultInstanceForType()

public UpdateAgentGatewayRequest getDefaultInstanceForType()
Returns
Type Description
UpdateAgentGatewayRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten in the AgentGateway 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 AgentGateway 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
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. Field mask is used to specify the fields to be overwritten in the AgentGateway 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
FieldMaskOrBuilder

hasAgentGateway()

public boolean hasAgentGateway()

Required. Updated AgentGateway resource.

.google.cloud.networkservices.v1.AgentGateway agent_gateway = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the agentGateway field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten in the AgentGateway 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAgentGateway(AgentGateway value)

public UpdateAgentGatewayRequest.Builder mergeAgentGateway(AgentGateway value)

Required. Updated AgentGateway resource.

.google.cloud.networkservices.v1.AgentGateway agent_gateway = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AgentGateway
Returns
Type Description
UpdateAgentGatewayRequest.Builder

mergeFrom(UpdateAgentGatewayRequest other)

public UpdateAgentGatewayRequest.Builder mergeFrom(UpdateAgentGatewayRequest other)
Parameter
Name Description
other UpdateAgentGatewayRequest
Returns
Type Description
UpdateAgentGatewayRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateAgentGatewayRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAgentGatewayRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateAgentGatewayRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateAgentGatewayRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateAgentGatewayRequest.Builder mergeUpdateMask(FieldMask value)

Optional. Field mask is used to specify the fields to be overwritten in the AgentGateway 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
value FieldMask
Returns
Type Description
UpdateAgentGatewayRequest.Builder

setAgentGateway(AgentGateway value)

public UpdateAgentGatewayRequest.Builder setAgentGateway(AgentGateway value)

Required. Updated AgentGateway resource.

.google.cloud.networkservices.v1.AgentGateway agent_gateway = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AgentGateway
Returns
Type Description
UpdateAgentGatewayRequest.Builder

setAgentGateway(AgentGateway.Builder builderForValue)

public UpdateAgentGatewayRequest.Builder setAgentGateway(AgentGateway.Builder builderForValue)

Required. Updated AgentGateway resource.

.google.cloud.networkservices.v1.AgentGateway agent_gateway = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue AgentGateway.Builder
Returns
Type Description
UpdateAgentGatewayRequest.Builder

setUpdateMask(FieldMask value)

public UpdateAgentGatewayRequest.Builder setUpdateMask(FieldMask value)

Optional. Field mask is used to specify the fields to be overwritten in the AgentGateway 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
value FieldMask
Returns
Type Description
UpdateAgentGatewayRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateAgentGatewayRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. Field mask is used to specify the fields to be overwritten in the AgentGateway 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
Returns
Type Description
UpdateAgentGatewayRequest.Builder