Class UpdateTlsRouteRequest.Builder (0.11.0)

public static final class UpdateTlsRouteRequest.Builder extends GeneratedMessageV3.Builder<UpdateTlsRouteRequest.Builder> implements UpdateTlsRouteRequestOrBuilder

Request used by the UpdateTlsRoute method.

Protobuf type google.cloud.networkservices.v1.UpdateTlsRouteRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateTlsRouteRequest build()
Returns
Type Description
UpdateTlsRouteRequest

buildPartial()

public UpdateTlsRouteRequest buildPartial()
Returns
Type Description
UpdateTlsRouteRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTlsRoute()

public UpdateTlsRouteRequest.Builder clearTlsRoute()

Required. Updated TlsRoute resource.

.google.cloud.networkservices.v1.TlsRoute tls_route = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateTlsRouteRequest.Builder

clearUpdateMask()

public UpdateTlsRouteRequest.Builder clearUpdateMask()

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

clone()

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

getDefaultInstanceForType()

public UpdateTlsRouteRequest getDefaultInstanceForType()
Returns
Type Description
UpdateTlsRouteRequest

getDescriptorForType()

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

getTlsRoute()

public TlsRoute getTlsRoute()

Required. Updated TlsRoute resource.

.google.cloud.networkservices.v1.TlsRoute tls_route = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TlsRoute

The tlsRoute.

getTlsRouteBuilder()

public TlsRoute.Builder getTlsRouteBuilder()

Required. Updated TlsRoute resource.

.google.cloud.networkservices.v1.TlsRoute tls_route = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TlsRoute.Builder

getTlsRouteOrBuilder()

public TlsRouteOrBuilder getTlsRouteOrBuilder()

Required. Updated TlsRoute resource.

.google.cloud.networkservices.v1.TlsRoute tls_route = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TlsRouteOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

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

hasTlsRoute()

public boolean hasTlsRoute()

Required. Updated TlsRoute resource.

.google.cloud.networkservices.v1.TlsRoute tls_route = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the tlsRoute field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. Field mask is used to specify the fields to be overwritten in the TlsRoute 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(UpdateTlsRouteRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTlsRoute(TlsRoute value)

public UpdateTlsRouteRequest.Builder mergeTlsRoute(TlsRoute value)

Required. Updated TlsRoute resource.

.google.cloud.networkservices.v1.TlsRoute tls_route = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TlsRoute
Returns
Type Description
UpdateTlsRouteRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateTlsRouteRequest.Builder mergeUpdateMask(FieldMask value)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTlsRoute(TlsRoute value)

public UpdateTlsRouteRequest.Builder setTlsRoute(TlsRoute value)

Required. Updated TlsRoute resource.

.google.cloud.networkservices.v1.TlsRoute tls_route = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TlsRoute
Returns
Type Description
UpdateTlsRouteRequest.Builder

setTlsRoute(TlsRoute.Builder builderForValue)

public UpdateTlsRouteRequest.Builder setTlsRoute(TlsRoute.Builder builderForValue)

Required. Updated TlsRoute resource.

.google.cloud.networkservices.v1.TlsRoute tls_route = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue TlsRoute.Builder
Returns
Type Description
UpdateTlsRouteRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateTlsRouteRequest.Builder setUpdateMask(FieldMask value)

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

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateTlsRouteRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

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