Class UpdateTcpRouteRequest.Builder (0.11.0)

public static final class UpdateTcpRouteRequest.Builder extends GeneratedMessageV3.Builder<UpdateTcpRouteRequest.Builder> implements UpdateTcpRouteRequestOrBuilder

Request used by the UpdateTcpRoute method.

Protobuf type google.cloud.networkservices.v1.UpdateTcpRouteRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateTcpRouteRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateTcpRouteRequest.Builder
Overrides

build()

public UpdateTcpRouteRequest build()
Returns
Type Description
UpdateTcpRouteRequest

buildPartial()

public UpdateTcpRouteRequest buildPartial()
Returns
Type Description
UpdateTcpRouteRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public UpdateTcpRouteRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateTcpRouteRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateTcpRouteRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateTcpRouteRequest.Builder
Overrides

clearTcpRoute()

public UpdateTcpRouteRequest.Builder clearTcpRoute()

Required. Updated TcpRoute resource.

.google.cloud.networkservices.v1.TcpRoute tcp_route = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateTcpRouteRequest.Builder

clearUpdateMask()

public UpdateTcpRouteRequest.Builder clearUpdateMask()

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

clone()

public UpdateTcpRouteRequest.Builder clone()
Returns
Type Description
UpdateTcpRouteRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateTcpRouteRequest getDefaultInstanceForType()
Returns
Type Description
UpdateTcpRouteRequest

getDescriptorForType()

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

getTcpRoute()

public TcpRoute getTcpRoute()

Required. Updated TcpRoute resource.

.google.cloud.networkservices.v1.TcpRoute tcp_route = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TcpRoute

The tcpRoute.

getTcpRouteBuilder()

public TcpRoute.Builder getTcpRouteBuilder()

Required. Updated TcpRoute resource.

.google.cloud.networkservices.v1.TcpRoute tcp_route = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TcpRoute.Builder

getTcpRouteOrBuilder()

public TcpRouteOrBuilder getTcpRouteOrBuilder()

Required. Updated TcpRoute resource.

.google.cloud.networkservices.v1.TcpRoute tcp_route = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TcpRouteOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

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

hasTcpRoute()

public boolean hasTcpRoute()

Required. Updated TcpRoute resource.

.google.cloud.networkservices.v1.TcpRoute tcp_route = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the tcpRoute field is set.

hasUpdateMask()

public boolean hasUpdateMask()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateTcpRouteRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTcpRoute(TcpRoute value)

public UpdateTcpRouteRequest.Builder mergeTcpRoute(TcpRoute value)

Required. Updated TcpRoute resource.

.google.cloud.networkservices.v1.TcpRoute tcp_route = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TcpRoute
Returns
Type Description
UpdateTcpRouteRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateTcpRouteRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateTcpRouteRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateTcpRouteRequest.Builder mergeUpdateMask(FieldMask value)

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

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateTcpRouteRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateTcpRouteRequest.Builder
Overrides

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

public UpdateTcpRouteRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateTcpRouteRequest.Builder
Overrides

setTcpRoute(TcpRoute value)

public UpdateTcpRouteRequest.Builder setTcpRoute(TcpRoute value)

Required. Updated TcpRoute resource.

.google.cloud.networkservices.v1.TcpRoute tcp_route = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TcpRoute
Returns
Type Description
UpdateTcpRouteRequest.Builder

setTcpRoute(TcpRoute.Builder builderForValue)

public UpdateTcpRouteRequest.Builder setTcpRoute(TcpRoute.Builder builderForValue)

Required. Updated TcpRoute resource.

.google.cloud.networkservices.v1.TcpRoute tcp_route = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue TcpRoute.Builder
Returns
Type Description
UpdateTcpRouteRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateTcpRouteRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateTcpRouteRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateTcpRouteRequest.Builder setUpdateMask(FieldMask value)

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

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateTcpRouteRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

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