Class UpdateServiceBindingRequest.Builder (0.39.0)

public static final class UpdateServiceBindingRequest.Builder extends GeneratedMessage.Builder<UpdateServiceBindingRequest.Builder> implements UpdateServiceBindingRequestOrBuilder

Request used by the UpdateServiceBinding method.

Protobuf type google.cloud.networkservices.v1.UpdateServiceBindingRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateServiceBindingRequest build()
Returns
Type Description
UpdateServiceBindingRequest

buildPartial()

public UpdateServiceBindingRequest buildPartial()
Returns
Type Description
UpdateServiceBindingRequest

clear()

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

clearServiceBinding()

public UpdateServiceBindingRequest.Builder clearServiceBinding()

Required. Updated ServiceBinding resource.

.google.cloud.networkservices.v1.ServiceBinding service_binding = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateServiceBindingRequest.Builder

clearUpdateMask()

public UpdateServiceBindingRequest.Builder clearUpdateMask()

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

getDefaultInstanceForType()

public UpdateServiceBindingRequest getDefaultInstanceForType()
Returns
Type Description
UpdateServiceBindingRequest

getDescriptorForType()

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

getServiceBinding()

public ServiceBinding getServiceBinding()

Required. Updated ServiceBinding resource.

.google.cloud.networkservices.v1.ServiceBinding service_binding = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ServiceBinding

The serviceBinding.

getServiceBindingBuilder()

public ServiceBinding.Builder getServiceBindingBuilder()

Required. Updated ServiceBinding resource.

.google.cloud.networkservices.v1.ServiceBinding service_binding = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ServiceBinding.Builder

getServiceBindingOrBuilder()

public ServiceBindingOrBuilder getServiceBindingOrBuilder()

Required. Updated ServiceBinding resource.

.google.cloud.networkservices.v1.ServiceBinding service_binding = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ServiceBindingOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

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

hasServiceBinding()

public boolean hasServiceBinding()

Required. Updated ServiceBinding resource.

.google.cloud.networkservices.v1.ServiceBinding service_binding = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the serviceBinding field is set.

hasUpdateMask()

public boolean hasUpdateMask()

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeServiceBinding(ServiceBinding value)

public UpdateServiceBindingRequest.Builder mergeServiceBinding(ServiceBinding value)

Required. Updated ServiceBinding resource.

.google.cloud.networkservices.v1.ServiceBinding service_binding = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ServiceBinding
Returns
Type Description
UpdateServiceBindingRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdateServiceBindingRequest.Builder mergeUpdateMask(FieldMask value)

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

setServiceBinding(ServiceBinding value)

public UpdateServiceBindingRequest.Builder setServiceBinding(ServiceBinding value)

Required. Updated ServiceBinding resource.

.google.cloud.networkservices.v1.ServiceBinding service_binding = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ServiceBinding
Returns
Type Description
UpdateServiceBindingRequest.Builder

setServiceBinding(ServiceBinding.Builder builderForValue)

public UpdateServiceBindingRequest.Builder setServiceBinding(ServiceBinding.Builder builderForValue)

Required. Updated ServiceBinding resource.

.google.cloud.networkservices.v1.ServiceBinding service_binding = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ServiceBinding.Builder
Returns
Type Description
UpdateServiceBindingRequest.Builder

setUpdateMask(FieldMask value)

public UpdateServiceBindingRequest.Builder setUpdateMask(FieldMask value)

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

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateServiceBindingRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

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