Class UpdateGrpcRouteRequest.Builder (0.2.0)

public static final class UpdateGrpcRouteRequest.Builder extends GeneratedMessageV3.Builder<UpdateGrpcRouteRequest.Builder> implements UpdateGrpcRouteRequestOrBuilder

Request used by the UpdateGrpcRoute method.

Protobuf type google.cloud.networkservices.v1.UpdateGrpcRouteRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateGrpcRouteRequest build()
Returns
Type Description
UpdateGrpcRouteRequest

buildPartial()

public UpdateGrpcRouteRequest buildPartial()
Returns
Type Description
UpdateGrpcRouteRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGrpcRoute()

public UpdateGrpcRouteRequest.Builder clearGrpcRoute()

Required. Updated GrpcRoute resource.

.google.cloud.networkservices.v1.GrpcRoute grpc_route = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateGrpcRouteRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateGrpcRouteRequest.Builder clearUpdateMask()

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

clone()

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

getDefaultInstanceForType()

public UpdateGrpcRouteRequest getDefaultInstanceForType()
Returns
Type Description
UpdateGrpcRouteRequest

getDescriptorForType()

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

getGrpcRoute()

public GrpcRoute getGrpcRoute()

Required. Updated GrpcRoute resource.

.google.cloud.networkservices.v1.GrpcRoute grpc_route = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GrpcRoute

The grpcRoute.

getGrpcRouteBuilder()

public GrpcRoute.Builder getGrpcRouteBuilder()

Required. Updated GrpcRoute resource.

.google.cloud.networkservices.v1.GrpcRoute grpc_route = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GrpcRoute.Builder

getGrpcRouteOrBuilder()

public GrpcRouteOrBuilder getGrpcRouteOrBuilder()

Required. Updated GrpcRoute resource.

.google.cloud.networkservices.v1.GrpcRoute grpc_route = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GrpcRouteOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

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

hasGrpcRoute()

public boolean hasGrpcRoute()

Required. Updated GrpcRoute resource.

.google.cloud.networkservices.v1.GrpcRoute grpc_route = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the grpcRoute field is set.

hasUpdateMask()

public boolean hasUpdateMask()

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGrpcRoute(GrpcRoute value)

public UpdateGrpcRouteRequest.Builder mergeGrpcRoute(GrpcRoute value)

Required. Updated GrpcRoute resource.

.google.cloud.networkservices.v1.GrpcRoute grpc_route = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GrpcRoute
Returns
Type Description
UpdateGrpcRouteRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateGrpcRouteRequest.Builder mergeUpdateMask(FieldMask value)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGrpcRoute(GrpcRoute value)

public UpdateGrpcRouteRequest.Builder setGrpcRoute(GrpcRoute value)

Required. Updated GrpcRoute resource.

.google.cloud.networkservices.v1.GrpcRoute grpc_route = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value GrpcRoute
Returns
Type Description
UpdateGrpcRouteRequest.Builder

setGrpcRoute(GrpcRoute.Builder builderForValue)

public UpdateGrpcRouteRequest.Builder setGrpcRoute(GrpcRoute.Builder builderForValue)

Required. Updated GrpcRoute resource.

.google.cloud.networkservices.v1.GrpcRoute grpc_route = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue GrpcRoute.Builder
Returns
Type Description
UpdateGrpcRouteRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateGrpcRouteRequest.Builder setUpdateMask(FieldMask value)

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

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateGrpcRouteRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

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