Class UpdateHttpRouteRequest.Builder (0.39.0)

public static final class UpdateHttpRouteRequest.Builder extends GeneratedMessage.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

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

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

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

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 GeneratedMessage.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

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

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

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