public static final class UpdateServiceLbPolicyRequest.Builder extends GeneratedMessage.Builder<UpdateServiceLbPolicyRequest.Builder> implements UpdateServiceLbPolicyRequestOrBuilderRequest used by the UpdateServiceLbPolicy method.
Protobuf type google.cloud.networkservices.v1.UpdateServiceLbPolicyRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateServiceLbPolicyRequest.BuilderImplements
UpdateServiceLbPolicyRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 |
|
getDefaultInstanceForType()
public UpdateServiceLbPolicyRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateServiceLbPolicyRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateServiceLbPolicyRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateServiceLbPolicyRequest.Builder |
|
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 |
|
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 |
|
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 |
|
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 |
|