Class UpdateHttpRouteRequest.Builder (0.4.0)

public static final class UpdateHttpRouteRequest.Builder extends GeneratedMessageV3.Builder<UpdateHttpRouteRequest.Builder> implements UpdateHttpRouteRequestOrBuilder

Request used by the UpdateHttpRoute method.

Protobuf type google.cloud.networkservices.v1.UpdateHttpRouteRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateHttpRouteRequest build()
Returns
Type Description
UpdateHttpRouteRequest

buildPartial()

public UpdateHttpRouteRequest buildPartial()
Returns
Type Description
UpdateHttpRouteRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearHttpRoute()

public UpdateHttpRouteRequest.Builder clearHttpRoute()

Required. Updated HttpRoute resource.

.google.cloud.networkservices.v1.HttpRoute http_route = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateHttpRouteRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateHttpRouteRequest.Builder clearUpdateMask()

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

clone()

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

getDefaultInstanceForType()

public UpdateHttpRouteRequest getDefaultInstanceForType()
Returns
Type Description
UpdateHttpRouteRequest

getDescriptorForType()

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

getHttpRoute()

public HttpRoute getHttpRoute()

Required. Updated HttpRoute resource.

.google.cloud.networkservices.v1.HttpRoute http_route = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HttpRoute

The httpRoute.

getHttpRouteBuilder()

public HttpRoute.Builder getHttpRouteBuilder()

Required. Updated HttpRoute resource.

.google.cloud.networkservices.v1.HttpRoute http_route = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HttpRoute.Builder

getHttpRouteOrBuilder()

public HttpRouteOrBuilder getHttpRouteOrBuilder()

Required. Updated HttpRoute resource.

.google.cloud.networkservices.v1.HttpRoute http_route = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
HttpRouteOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

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

hasHttpRoute()

public boolean hasHttpRoute()

Required. Updated HttpRoute resource.

.google.cloud.networkservices.v1.HttpRoute http_route = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the httpRoute field is set.

hasUpdateMask()

public boolean hasUpdateMask()

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeHttpRoute(HttpRoute value)

public UpdateHttpRouteRequest.Builder mergeHttpRoute(HttpRoute value)

Required. Updated HttpRoute resource.

.google.cloud.networkservices.v1.HttpRoute http_route = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value HttpRoute
Returns
Type Description
UpdateHttpRouteRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateHttpRouteRequest.Builder mergeUpdateMask(FieldMask value)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setHttpRoute(HttpRoute value)

public UpdateHttpRouteRequest.Builder setHttpRoute(HttpRoute value)

Required. Updated HttpRoute resource.

.google.cloud.networkservices.v1.HttpRoute http_route = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value HttpRoute
Returns
Type Description
UpdateHttpRouteRequest.Builder

setHttpRoute(HttpRoute.Builder builderForValue)

public UpdateHttpRouteRequest.Builder setHttpRoute(HttpRoute.Builder builderForValue)

Required. Updated HttpRoute resource.

.google.cloud.networkservices.v1.HttpRoute http_route = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue HttpRoute.Builder
Returns
Type Description
UpdateHttpRouteRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateHttpRouteRequest.Builder setUpdateMask(FieldMask value)

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

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateHttpRouteRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

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