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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateServiceLbPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateServiceLbPolicyRequest build()
buildPartial()
public UpdateServiceLbPolicyRequest buildPartial()
clear()
public UpdateServiceLbPolicyRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateServiceLbPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateServiceLbPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearServiceLbPolicy()
public UpdateServiceLbPolicyRequest.Builder clearServiceLbPolicy()
Required. Updated ServiceLbPolicy resource.
.google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policy = 2 [(.google.api.field_behavior) = REQUIRED];
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];
clone()
public UpdateServiceLbPolicyRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateServiceLbPolicyRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getServiceLbPolicy()
public ServiceLbPolicy getServiceLbPolicy()
Required. Updated ServiceLbPolicy resource.
.google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policy = 2 [(.google.api.field_behavior) = REQUIRED];
getServiceLbPolicyBuilder()
public ServiceLbPolicy.Builder getServiceLbPolicyBuilder()
Required. Updated ServiceLbPolicy resource.
.google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policy = 2 [(.google.api.field_behavior) = REQUIRED];
getServiceLbPolicyOrBuilder()
public ServiceLbPolicyOrBuilder getServiceLbPolicyOrBuilder()
Required. Updated ServiceLbPolicy resource.
.google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policy = 2 [(.google.api.field_behavior) = REQUIRED];
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateServiceLbPolicyRequest other)
public UpdateServiceLbPolicyRequest.Builder mergeFrom(UpdateServiceLbPolicyRequest other)
public UpdateServiceLbPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateServiceLbPolicyRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateServiceLbPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateServiceLbPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateServiceLbPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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];
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateServiceLbPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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];
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
|