Class UpdateServiceLbPolicyRequest.Builder (0.23.0)

public static final class UpdateServiceLbPolicyRequest.Builder extends GeneratedMessageV3.Builder<UpdateServiceLbPolicyRequest.Builder> implements UpdateServiceLbPolicyRequestOrBuilder

Request used by the UpdateServiceLbPolicy method.

Protobuf type google.cloud.networkservices.v1.UpdateServiceLbPolicyRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateServiceLbPolicyRequest build()
Returns
Type Description
UpdateServiceLbPolicyRequest

buildPartial()

public UpdateServiceLbPolicyRequest buildPartial()
Returns
Type Description
UpdateServiceLbPolicyRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServiceLbPolicy()

public UpdateServiceLbPolicyRequest.Builder clearServiceLbPolicy()

Required. Updated ServiceLbPolicy resource.

.google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateServiceLbPolicyRequest.Builder

clearUpdateMask()

public UpdateServiceLbPolicyRequest.Builder clearUpdateMask()

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

clone()

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

getDefaultInstanceForType()

public UpdateServiceLbPolicyRequest getDefaultInstanceForType()
Returns
Type Description
UpdateServiceLbPolicyRequest

getDescriptorForType()

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

getServiceLbPolicy()

public ServiceLbPolicy getServiceLbPolicy()

Required. Updated ServiceLbPolicy resource.

.google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ServiceLbPolicy

The serviceLbPolicy.

getServiceLbPolicyBuilder()

public ServiceLbPolicy.Builder getServiceLbPolicyBuilder()

Required. Updated ServiceLbPolicy resource.

.google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ServiceLbPolicy.Builder

getServiceLbPolicyOrBuilder()

public ServiceLbPolicyOrBuilder getServiceLbPolicyOrBuilder()

Required. Updated ServiceLbPolicy resource.

.google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ServiceLbPolicyOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

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

hasServiceLbPolicy()

public boolean hasServiceLbPolicy()

Required. Updated ServiceLbPolicy resource.

.google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the serviceLbPolicy field is set.

hasUpdateMask()

public boolean hasUpdateMask()

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeServiceLbPolicy(ServiceLbPolicy value)

public UpdateServiceLbPolicyRequest.Builder mergeServiceLbPolicy(ServiceLbPolicy value)

Required. Updated ServiceLbPolicy resource.

.google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ServiceLbPolicy
Returns
Type Description
UpdateServiceLbPolicyRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateServiceLbPolicyRequest.Builder mergeUpdateMask(FieldMask value)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setServiceLbPolicy(ServiceLbPolicy value)

public UpdateServiceLbPolicyRequest.Builder setServiceLbPolicy(ServiceLbPolicy value)

Required. Updated ServiceLbPolicy resource.

.google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ServiceLbPolicy
Returns
Type Description
UpdateServiceLbPolicyRequest.Builder

setServiceLbPolicy(ServiceLbPolicy.Builder builderForValue)

public UpdateServiceLbPolicyRequest.Builder setServiceLbPolicy(ServiceLbPolicy.Builder builderForValue)

Required. Updated ServiceLbPolicy resource.

.google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ServiceLbPolicy.Builder
Returns
Type Description
UpdateServiceLbPolicyRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateServiceLbPolicyRequest.Builder setUpdateMask(FieldMask value)

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

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateServiceLbPolicyRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

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