Class UpdateAppConnectorRequest.Builder (0.49.0)

public static final class UpdateAppConnectorRequest.Builder extends GeneratedMessageV3.Builder<UpdateAppConnectorRequest.Builder> implements UpdateAppConnectorRequestOrBuilder

Request message for BeyondCorp.UpdateAppConnector.

Protobuf type google.cloud.beyondcorp.appconnectors.v1.UpdateAppConnectorRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateAppConnectorRequest build()
Returns
Type Description
UpdateAppConnectorRequest

buildPartial()

public UpdateAppConnectorRequest buildPartial()
Returns
Type Description
UpdateAppConnectorRequest

clear()

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

clearAppConnector()

public UpdateAppConnectorRequest.Builder clearAppConnector()

Required. AppConnector message with updated fields. Only supported fields specified in update_mask are updated.

.google.cloud.beyondcorp.appconnectors.v1.AppConnector app_connector = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateAppConnectorRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRequestId()

public UpdateAppConnectorRequest.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 will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and t he 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, will ignore 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];

Returns
Type Description
UpdateAppConnectorRequest.Builder

This builder for chaining.

clearUpdateMask()

public UpdateAppConnectorRequest.Builder clearUpdateMask()

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from [BeyondCorp.AppConnector]:

  • labels
  • display_name

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateAppConnectorRequest.Builder

clearValidateOnly()

public UpdateAppConnectorRequest.Builder clearValidateOnly()

Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.

bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateAppConnectorRequest.Builder

This builder for chaining.

clone()

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

getAppConnector()

public AppConnector getAppConnector()

Required. AppConnector message with updated fields. Only supported fields specified in update_mask are updated.

.google.cloud.beyondcorp.appconnectors.v1.AppConnector app_connector = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AppConnector

The appConnector.

getAppConnectorBuilder()

public AppConnector.Builder getAppConnectorBuilder()

Required. AppConnector message with updated fields. Only supported fields specified in update_mask are updated.

.google.cloud.beyondcorp.appconnectors.v1.AppConnector app_connector = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AppConnector.Builder

getAppConnectorOrBuilder()

public AppConnectorOrBuilder getAppConnectorOrBuilder()

Required. AppConnector message with updated fields. Only supported fields specified in update_mask are updated.

.google.cloud.beyondcorp.appconnectors.v1.AppConnector app_connector = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AppConnectorOrBuilder

getDefaultInstanceForType()

public UpdateAppConnectorRequest getDefaultInstanceForType()
Returns
Type Description
UpdateAppConnectorRequest

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 will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and t he 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, will ignore 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];

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 will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and t he 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, will ignore 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];

Returns
Type Description
ByteString

The bytes for requestId.

getUpdateMask()

public FieldMask getUpdateMask()

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from [BeyondCorp.AppConnector]:

  • labels
  • display_name

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from [BeyondCorp.AppConnector]:

  • labels
  • display_name

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from [BeyondCorp.AppConnector]:

  • labels
  • display_name

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

getValidateOnly()

public boolean getValidateOnly()

Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.

bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The validateOnly.

hasAppConnector()

public boolean hasAppConnector()

Required. AppConnector message with updated fields. Only supported fields specified in update_mask are updated.

.google.cloud.beyondcorp.appconnectors.v1.AppConnector app_connector = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the appConnector field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from [BeyondCorp.AppConnector]:

  • labels
  • display_name

.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

mergeAppConnector(AppConnector value)

public UpdateAppConnectorRequest.Builder mergeAppConnector(AppConnector value)

Required. AppConnector message with updated fields. Only supported fields specified in update_mask are updated.

.google.cloud.beyondcorp.appconnectors.v1.AppConnector app_connector = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AppConnector
Returns
Type Description
UpdateAppConnectorRequest.Builder

mergeFrom(UpdateAppConnectorRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateAppConnectorRequest.Builder mergeUpdateMask(FieldMask value)

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from [BeyondCorp.AppConnector]:

  • labels
  • display_name

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateAppConnectorRequest.Builder

setAppConnector(AppConnector value)

public UpdateAppConnectorRequest.Builder setAppConnector(AppConnector value)

Required. AppConnector message with updated fields. Only supported fields specified in update_mask are updated.

.google.cloud.beyondcorp.appconnectors.v1.AppConnector app_connector = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AppConnector
Returns
Type Description
UpdateAppConnectorRequest.Builder

setAppConnector(AppConnector.Builder builderForValue)

public UpdateAppConnectorRequest.Builder setAppConnector(AppConnector.Builder builderForValue)

Required. AppConnector message with updated fields. Only supported fields specified in update_mask are updated.

.google.cloud.beyondcorp.appconnectors.v1.AppConnector app_connector = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue AppConnector.Builder
Returns
Type Description
UpdateAppConnectorRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRequestId(String value)

public UpdateAppConnectorRequest.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 will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and t he 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, will ignore 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];

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
UpdateAppConnectorRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public UpdateAppConnectorRequest.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 will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and t he 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, will ignore 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];

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
UpdateAppConnectorRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateAppConnectorRequest.Builder setUpdateMask(FieldMask value)

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from [BeyondCorp.AppConnector]:

  • labels
  • display_name

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateAppConnectorRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateAppConnectorRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields from [BeyondCorp.AppConnector]:

  • labels
  • display_name

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateAppConnectorRequest.Builder

setValidateOnly(boolean value)

public UpdateAppConnectorRequest.Builder setValidateOnly(boolean value)

Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.

bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
UpdateAppConnectorRequest.Builder

This builder for chaining.