public static final class UpdateAuthzPolicyRequest.Builder extends GeneratedMessage.Builder<UpdateAuthzPolicyRequest.Builder> implements UpdateAuthzPolicyRequestOrBuilder Message for updating an AuthzPolicy resource.
Protobuf type google.cloud.networksecurity.v1.UpdateAuthzPolicyRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateAuthzPolicyRequest.BuilderImplements
UpdateAuthzPolicyRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateAuthzPolicyRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateAuthzPolicyRequest |
|
buildPartial()
public UpdateAuthzPolicyRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateAuthzPolicyRequest |
|
clear()
public UpdateAuthzPolicyRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateAuthzPolicyRequest.Builder |
|
clearAuthzPolicy()
public UpdateAuthzPolicyRequest.Builder clearAuthzPolicy() Required. AuthzPolicy resource being updated.
.google.cloud.networksecurity.v1.AuthzPolicy authz_policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateAuthzPolicyRequest.Builder |
|
clearRequestId()
public UpdateAuthzPolicyRequest.Builder clearRequestId()Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
UpdateAuthzPolicyRequest.Builder |
This builder for chaining. |
clearUpdateMask()
public UpdateAuthzPolicyRequest.Builder clearUpdateMask() Required. Used to specify the fields to be overwritten in the
AuthzPolicy resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field is overwritten if it is in the mask. If the
user does not specify a mask, then all fields are overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateAuthzPolicyRequest.Builder |
|
getAuthzPolicy()
public AuthzPolicy getAuthzPolicy() Required. AuthzPolicy resource being updated.
.google.cloud.networksecurity.v1.AuthzPolicy authz_policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AuthzPolicy |
The authzPolicy. |
getAuthzPolicyBuilder()
public AuthzPolicy.Builder getAuthzPolicyBuilder() Required. AuthzPolicy resource being updated.
.google.cloud.networksecurity.v1.AuthzPolicy authz_policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AuthzPolicy.Builder |
|
getAuthzPolicyOrBuilder()
public AuthzPolicyOrBuilder getAuthzPolicyOrBuilder() Required. AuthzPolicy resource being updated.
.google.cloud.networksecurity.v1.AuthzPolicy authz_policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AuthzPolicyOrBuilder |
|
getDefaultInstanceForType()
public UpdateAuthzPolicyRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateAuthzPolicyRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getRequestId()
public String getRequestId()Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The requestId. |
getRequestIdBytes()
public ByteString getRequestIdBytes()Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for requestId. |
getUpdateMask()
public FieldMask getUpdateMask() Required. Used to specify the fields to be overwritten in the
AuthzPolicy resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field is overwritten if it is in the mask. If the
user does not specify a mask, then all fields are overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder() Required. Used to specify the fields to be overwritten in the
AuthzPolicy resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field is overwritten if it is in the mask. If the
user does not specify a mask, then all fields are overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder() Required. Used to specify the fields to be overwritten in the
AuthzPolicy resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field is overwritten if it is in the mask. If the
user does not specify a mask, then all fields are overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasAuthzPolicy()
public boolean hasAuthzPolicy() Required. AuthzPolicy resource being updated.
.google.cloud.networksecurity.v1.AuthzPolicy authz_policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the authzPolicy field is set. |
hasUpdateMask()
public boolean hasUpdateMask() Required. Used to specify the fields to be overwritten in the
AuthzPolicy resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field is overwritten if it is in the mask. If the
user does not specify a mask, then all fields are overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
| 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 |
|
mergeAuthzPolicy(AuthzPolicy value)
public UpdateAuthzPolicyRequest.Builder mergeAuthzPolicy(AuthzPolicy value) Required. AuthzPolicy resource being updated.
.google.cloud.networksecurity.v1.AuthzPolicy authz_policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
AuthzPolicy |
| Returns | |
|---|---|
| Type | Description |
UpdateAuthzPolicyRequest.Builder |
|
mergeFrom(UpdateAuthzPolicyRequest other)
public UpdateAuthzPolicyRequest.Builder mergeFrom(UpdateAuthzPolicyRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateAuthzPolicyRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateAuthzPolicyRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateAuthzPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateAuthzPolicyRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateAuthzPolicyRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateAuthzPolicyRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateAuthzPolicyRequest.Builder mergeUpdateMask(FieldMask value) Required. Used to specify the fields to be overwritten in the
AuthzPolicy resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field is overwritten if it is in the mask. If the
user does not specify a mask, then all fields are overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateAuthzPolicyRequest.Builder |
|
setAuthzPolicy(AuthzPolicy value)
public UpdateAuthzPolicyRequest.Builder setAuthzPolicy(AuthzPolicy value) Required. AuthzPolicy resource being updated.
.google.cloud.networksecurity.v1.AuthzPolicy authz_policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
AuthzPolicy |
| Returns | |
|---|---|
| Type | Description |
UpdateAuthzPolicyRequest.Builder |
|
setAuthzPolicy(AuthzPolicy.Builder builderForValue)
public UpdateAuthzPolicyRequest.Builder setAuthzPolicy(AuthzPolicy.Builder builderForValue) Required. AuthzPolicy resource being updated.
.google.cloud.networksecurity.v1.AuthzPolicy authz_policy = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AuthzPolicy.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateAuthzPolicyRequest.Builder |
|
setRequestId(String value)
public UpdateAuthzPolicyRequest.Builder setRequestId(String value)Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe requestId to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateAuthzPolicyRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public UpdateAuthzPolicyRequest.Builder setRequestIdBytes(ByteString value)Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, ignores the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for requestId to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateAuthzPolicyRequest.Builder |
This builder for chaining. |
setUpdateMask(FieldMask value)
public UpdateAuthzPolicyRequest.Builder setUpdateMask(FieldMask value) Required. Used to specify the fields to be overwritten in the
AuthzPolicy resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field is overwritten if it is in the mask. If the
user does not specify a mask, then all fields are overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateAuthzPolicyRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateAuthzPolicyRequest.Builder setUpdateMask(FieldMask.Builder builderForValue) Required. Used to specify the fields to be overwritten in the
AuthzPolicy resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field is overwritten if it is in the mask. If the
user does not specify a mask, then all fields are overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateAuthzPolicyRequest.Builder |
|