Class UpdateAuthzExtensionRequest.Builder (0.23.0)

public static final class UpdateAuthzExtensionRequest.Builder extends GeneratedMessageV3.Builder<UpdateAuthzExtensionRequest.Builder> implements UpdateAuthzExtensionRequestOrBuilder

Message for updating a AuthzExtension resource.

Protobuf type google.cloud.networkservices.v1.UpdateAuthzExtensionRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateAuthzExtensionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateAuthzExtensionRequest.Builder
Overrides

build()

public UpdateAuthzExtensionRequest build()
Returns
Type Description
UpdateAuthzExtensionRequest

buildPartial()

public UpdateAuthzExtensionRequest buildPartial()
Returns
Type Description
UpdateAuthzExtensionRequest

clear()

public UpdateAuthzExtensionRequest.Builder clear()
Returns
Type Description
UpdateAuthzExtensionRequest.Builder
Overrides

clearAuthzExtension()

public UpdateAuthzExtensionRequest.Builder clearAuthzExtension()

Required. AuthzExtension resource being updated.

.google.cloud.networkservices.v1.AuthzExtension authz_extension = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateAuthzExtensionRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateAuthzExtensionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateAuthzExtensionRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateAuthzExtensionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateAuthzExtensionRequest.Builder
Overrides

clearRequestId()

public UpdateAuthzExtensionRequest.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 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 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
UpdateAuthzExtensionRequest.Builder

This builder for chaining.

clearUpdateMask()

public UpdateAuthzExtensionRequest.Builder clearUpdateMask()

Required. Used to specify the fields to be overwritten in the AuthzExtension 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
UpdateAuthzExtensionRequest.Builder

clone()

public UpdateAuthzExtensionRequest.Builder clone()
Returns
Type Description
UpdateAuthzExtensionRequest.Builder
Overrides

getAuthzExtension()

public AuthzExtension getAuthzExtension()

Required. AuthzExtension resource being updated.

.google.cloud.networkservices.v1.AuthzExtension authz_extension = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AuthzExtension

The authzExtension.

getAuthzExtensionBuilder()

public AuthzExtension.Builder getAuthzExtensionBuilder()

Required. AuthzExtension resource being updated.

.google.cloud.networkservices.v1.AuthzExtension authz_extension = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AuthzExtension.Builder

getAuthzExtensionOrBuilder()

public AuthzExtensionOrBuilder getAuthzExtensionOrBuilder()

Required. AuthzExtension resource being updated.

.google.cloud.networkservices.v1.AuthzExtension authz_extension = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AuthzExtensionOrBuilder

getDefaultInstanceForType()

public UpdateAuthzExtensionRequest getDefaultInstanceForType()
Returns
Type Description
UpdateAuthzExtensionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 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 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 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 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 AuthzExtension 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 AuthzExtension 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 AuthzExtension 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

hasAuthzExtension()

public boolean hasAuthzExtension()

Required. AuthzExtension resource being updated.

.google.cloud.networkservices.v1.AuthzExtension authz_extension = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the authzExtension field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Used to specify the fields to be overwritten in the AuthzExtension 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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAuthzExtension(AuthzExtension value)

public UpdateAuthzExtensionRequest.Builder mergeAuthzExtension(AuthzExtension value)

Required. AuthzExtension resource being updated.

.google.cloud.networkservices.v1.AuthzExtension authz_extension = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AuthzExtension
Returns
Type Description
UpdateAuthzExtensionRequest.Builder

mergeFrom(UpdateAuthzExtensionRequest other)

public UpdateAuthzExtensionRequest.Builder mergeFrom(UpdateAuthzExtensionRequest other)
Parameter
Name Description
other UpdateAuthzExtensionRequest
Returns
Type Description
UpdateAuthzExtensionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateAuthzExtensionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateAuthzExtensionRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateAuthzExtensionRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateAuthzExtensionRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAuthzExtensionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateAuthzExtensionRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateAuthzExtensionRequest.Builder mergeUpdateMask(FieldMask value)

Required. Used to specify the fields to be overwritten in the AuthzExtension 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
UpdateAuthzExtensionRequest.Builder

setAuthzExtension(AuthzExtension value)

public UpdateAuthzExtensionRequest.Builder setAuthzExtension(AuthzExtension value)

Required. AuthzExtension resource being updated.

.google.cloud.networkservices.v1.AuthzExtension authz_extension = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AuthzExtension
Returns
Type Description
UpdateAuthzExtensionRequest.Builder

setAuthzExtension(AuthzExtension.Builder builderForValue)

public UpdateAuthzExtensionRequest.Builder setAuthzExtension(AuthzExtension.Builder builderForValue)

Required. AuthzExtension resource being updated.

.google.cloud.networkservices.v1.AuthzExtension authz_extension = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue AuthzExtension.Builder
Returns
Type Description
UpdateAuthzExtensionRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateAuthzExtensionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateAuthzExtensionRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateAuthzExtensionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateAuthzExtensionRequest.Builder
Overrides

setRequestId(String value)

public UpdateAuthzExtensionRequest.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 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 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 String

The requestId to set.

Returns
Type Description
UpdateAuthzExtensionRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public UpdateAuthzExtensionRequest.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 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 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 ByteString

The bytes for requestId to set.

Returns
Type Description
UpdateAuthzExtensionRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAuthzExtensionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateAuthzExtensionRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateAuthzExtensionRequest.Builder setUpdateMask(FieldMask value)

Required. Used to specify the fields to be overwritten in the AuthzExtension 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
UpdateAuthzExtensionRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateAuthzExtensionRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Used to specify the fields to be overwritten in the AuthzExtension 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
UpdateAuthzExtensionRequest.Builder