Class UpdateServiceBindingRequest.Builder (0.23.0)

public static final class UpdateServiceBindingRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateServiceBindingRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

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