public static final class UpdateEndpointPolicyRequest.Builder extends GeneratedMessage.Builder<UpdateEndpointPolicyRequest.Builder> implements UpdateEndpointPolicyRequestOrBuilderRequest used with the UpdateEndpointPolicy method.
Protobuf type google.cloud.networkservices.v1.UpdateEndpointPolicyRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateEndpointPolicyRequest.BuilderImplements
UpdateEndpointPolicyRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateEndpointPolicyRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateEndpointPolicyRequest |
|
buildPartial()
public UpdateEndpointPolicyRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateEndpointPolicyRequest |
|
clear()
public UpdateEndpointPolicyRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateEndpointPolicyRequest.Builder |
|
clearEndpointPolicy()
public UpdateEndpointPolicyRequest.Builder clearEndpointPolicy()Required. Updated EndpointPolicy resource.
.google.cloud.networkservices.v1.EndpointPolicy endpoint_policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateEndpointPolicyRequest.Builder |
|
clearUpdateMask()
public UpdateEndpointPolicyRequest.Builder clearUpdateMask()Optional. Field mask is used to specify the fields to be overwritten in the EndpointPolicy 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 |
UpdateEndpointPolicyRequest.Builder |
|
getDefaultInstanceForType()
public UpdateEndpointPolicyRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateEndpointPolicyRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEndpointPolicy()
public EndpointPolicy getEndpointPolicy()Required. Updated EndpointPolicy resource.
.google.cloud.networkservices.v1.EndpointPolicy endpoint_policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
EndpointPolicy |
The endpointPolicy. |
getEndpointPolicyBuilder()
public EndpointPolicy.Builder getEndpointPolicyBuilder()Required. Updated EndpointPolicy resource.
.google.cloud.networkservices.v1.EndpointPolicy endpoint_policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
EndpointPolicy.Builder |
|
getEndpointPolicyOrBuilder()
public EndpointPolicyOrBuilder getEndpointPolicyOrBuilder()Required. Updated EndpointPolicy resource.
.google.cloud.networkservices.v1.EndpointPolicy endpoint_policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
EndpointPolicyOrBuilder |
|
getUpdateMask()
public FieldMask getUpdateMask()Optional. Field mask is used to specify the fields to be overwritten in the EndpointPolicy 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 EndpointPolicy 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 EndpointPolicy 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 |
|
hasEndpointPolicy()
public boolean hasEndpointPolicy()Required. Updated EndpointPolicy resource.
.google.cloud.networkservices.v1.EndpointPolicy endpoint_policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the endpointPolicy field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Optional. Field mask is used to specify the fields to be overwritten in the EndpointPolicy 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 |
|
mergeEndpointPolicy(EndpointPolicy value)
public UpdateEndpointPolicyRequest.Builder mergeEndpointPolicy(EndpointPolicy value)Required. Updated EndpointPolicy resource.
.google.cloud.networkservices.v1.EndpointPolicy endpoint_policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
EndpointPolicy |
| Returns | |
|---|---|
| Type | Description |
UpdateEndpointPolicyRequest.Builder |
|
mergeFrom(UpdateEndpointPolicyRequest other)
public UpdateEndpointPolicyRequest.Builder mergeFrom(UpdateEndpointPolicyRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateEndpointPolicyRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateEndpointPolicyRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateEndpointPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateEndpointPolicyRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateEndpointPolicyRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateEndpointPolicyRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateEndpointPolicyRequest.Builder mergeUpdateMask(FieldMask value)Optional. Field mask is used to specify the fields to be overwritten in the EndpointPolicy 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 |
UpdateEndpointPolicyRequest.Builder |
|
setEndpointPolicy(EndpointPolicy value)
public UpdateEndpointPolicyRequest.Builder setEndpointPolicy(EndpointPolicy value)Required. Updated EndpointPolicy resource.
.google.cloud.networkservices.v1.EndpointPolicy endpoint_policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
EndpointPolicy |
| Returns | |
|---|---|
| Type | Description |
UpdateEndpointPolicyRequest.Builder |
|
setEndpointPolicy(EndpointPolicy.Builder builderForValue)
public UpdateEndpointPolicyRequest.Builder setEndpointPolicy(EndpointPolicy.Builder builderForValue)Required. Updated EndpointPolicy resource.
.google.cloud.networkservices.v1.EndpointPolicy endpoint_policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
EndpointPolicy.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateEndpointPolicyRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateEndpointPolicyRequest.Builder setUpdateMask(FieldMask value)Optional. Field mask is used to specify the fields to be overwritten in the EndpointPolicy 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 |
UpdateEndpointPolicyRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateEndpointPolicyRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Optional. Field mask is used to specify the fields to be overwritten in the EndpointPolicy 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 |
UpdateEndpointPolicyRequest.Builder |
|