public static final class UpdateAuthorizationPolicyRequest.Builder extends GeneratedMessageV3.Builder<UpdateAuthorizationPolicyRequest.Builder> implements UpdateAuthorizationPolicyRequestOrBuilder
Request used by the UpdateAuthorizationPolicy method.
Protobuf type google.cloud.networksecurity.v1.UpdateAuthorizationPolicyRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateAuthorizationPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateAuthorizationPolicyRequest build()
Returns
buildPartial()
public UpdateAuthorizationPolicyRequest buildPartial()
Returns
clear()
public UpdateAuthorizationPolicyRequest.Builder clear()
Returns
Overrides
clearAuthorizationPolicy()
public UpdateAuthorizationPolicyRequest.Builder clearAuthorizationPolicy()
Required. Updated AuthorizationPolicy resource.
.google.cloud.networksecurity.v1.AuthorizationPolicy authorization_policy = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public UpdateAuthorizationPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateAuthorizationPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateAuthorizationPolicyRequest.Builder clearUpdateMask()
Optional. Field mask is used to specify the fields to be overwritten in the
AuthorizationPolicy 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
clone()
public UpdateAuthorizationPolicyRequest.Builder clone()
Returns
Overrides
getAuthorizationPolicy()
public AuthorizationPolicy getAuthorizationPolicy()
Required. Updated AuthorizationPolicy resource.
.google.cloud.networksecurity.v1.AuthorizationPolicy authorization_policy = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getAuthorizationPolicyBuilder()
public AuthorizationPolicy.Builder getAuthorizationPolicyBuilder()
Required. Updated AuthorizationPolicy resource.
.google.cloud.networksecurity.v1.AuthorizationPolicy authorization_policy = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getAuthorizationPolicyOrBuilder()
public AuthorizationPolicyOrBuilder getAuthorizationPolicyOrBuilder()
Required. Updated AuthorizationPolicy resource.
.google.cloud.networksecurity.v1.AuthorizationPolicy authorization_policy = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public UpdateAuthorizationPolicyRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
Optional. Field mask is used to specify the fields to be overwritten in the
AuthorizationPolicy 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
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Optional. Field mask is used to specify the fields to be overwritten in the
AuthorizationPolicy 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
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. Field mask is used to specify the fields to be overwritten in the
AuthorizationPolicy 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
hasAuthorizationPolicy()
public boolean hasAuthorizationPolicy()
Required. Updated AuthorizationPolicy resource.
.google.cloud.networksecurity.v1.AuthorizationPolicy authorization_policy = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the authorizationPolicy field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Optional. Field mask is used to specify the fields to be overwritten in the
AuthorizationPolicy 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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeAuthorizationPolicy(AuthorizationPolicy value)
public UpdateAuthorizationPolicyRequest.Builder mergeAuthorizationPolicy(AuthorizationPolicy value)
Required. Updated AuthorizationPolicy resource.
.google.cloud.networksecurity.v1.AuthorizationPolicy authorization_policy = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(UpdateAuthorizationPolicyRequest other)
public UpdateAuthorizationPolicyRequest.Builder mergeFrom(UpdateAuthorizationPolicyRequest other)
Parameter
Returns
public UpdateAuthorizationPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateAuthorizationPolicyRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAuthorizationPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateAuthorizationPolicyRequest.Builder mergeUpdateMask(FieldMask value)
Optional. Field mask is used to specify the fields to be overwritten in the
AuthorizationPolicy 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
Returns
setAuthorizationPolicy(AuthorizationPolicy value)
public UpdateAuthorizationPolicyRequest.Builder setAuthorizationPolicy(AuthorizationPolicy value)
Required. Updated AuthorizationPolicy resource.
.google.cloud.networksecurity.v1.AuthorizationPolicy authorization_policy = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setAuthorizationPolicy(AuthorizationPolicy.Builder builderForValue)
public UpdateAuthorizationPolicyRequest.Builder setAuthorizationPolicy(AuthorizationPolicy.Builder builderForValue)
Required. Updated AuthorizationPolicy resource.
.google.cloud.networksecurity.v1.AuthorizationPolicy authorization_policy = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateAuthorizationPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateAuthorizationPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAuthorizationPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateAuthorizationPolicyRequest.Builder setUpdateMask(FieldMask value)
Optional. Field mask is used to specify the fields to be overwritten in the
AuthorizationPolicy 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
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateAuthorizationPolicyRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Optional. Field mask is used to specify the fields to be overwritten in the
AuthorizationPolicy 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