Class UpdateAppConnectionRequest.Builder (0.42.0)

public static final class UpdateAppConnectionRequest.Builder extends GeneratedMessageV3.Builder<UpdateAppConnectionRequest.Builder> implements UpdateAppConnectionRequestOrBuilder

Request message for BeyondCorp.UpdateAppConnection.

Protobuf type google.cloud.beyondcorp.appconnections.v1.UpdateAppConnectionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateAppConnectionRequest build()
Returns
Type Description
UpdateAppConnectionRequest

buildPartial()

public UpdateAppConnectionRequest buildPartial()
Returns
Type Description
UpdateAppConnectionRequest

clear()

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

clearAllowMissing()

public UpdateAppConnectionRequest.Builder clearAllowMissing()

Optional. If set as true, will create the resource if it is not found.

bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateAppConnectionRequest.Builder

This builder for chaining.

clearAppConnection()

public UpdateAppConnectionRequest.Builder clearAppConnection()

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

.google.cloud.beyondcorp.appconnections.v1.AppConnection app_connection = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateAppConnectionRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRequestId()

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

This builder for chaining.

clearUpdateMask()

public UpdateAppConnectionRequest.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.AppConnection]:

  • labels
  • display_name
  • application_endpoint
  • connectors

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

Returns
Type Description
UpdateAppConnectionRequest.Builder

clearValidateOnly()

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

This builder for chaining.

clone()

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

getAllowMissing()

public boolean getAllowMissing()

Optional. If set as true, will create the resource if it is not found.

bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The allowMissing.

getAppConnection()

public AppConnection getAppConnection()

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

.google.cloud.beyondcorp.appconnections.v1.AppConnection app_connection = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AppConnection

The appConnection.

getAppConnectionBuilder()

public AppConnection.Builder getAppConnectionBuilder()

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

.google.cloud.beyondcorp.appconnections.v1.AppConnection app_connection = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AppConnection.Builder

getAppConnectionOrBuilder()

public AppConnectionOrBuilder getAppConnectionOrBuilder()

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

.google.cloud.beyondcorp.appconnections.v1.AppConnection app_connection = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AppConnectionOrBuilder

getDefaultInstanceForType()

public UpdateAppConnectionRequest getDefaultInstanceForType()
Returns
Type Description
UpdateAppConnectionRequest

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.AppConnection]:

  • labels
  • display_name
  • application_endpoint
  • connectors

.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.AppConnection]:

  • labels
  • display_name
  • application_endpoint
  • connectors

.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.AppConnection]:

  • labels
  • display_name
  • application_endpoint
  • connectors

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

hasAppConnection()

public boolean hasAppConnection()

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

.google.cloud.beyondcorp.appconnections.v1.AppConnection app_connection = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the appConnection 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.AppConnection]:

  • labels
  • display_name
  • application_endpoint
  • connectors

.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

mergeAppConnection(AppConnection value)

public UpdateAppConnectionRequest.Builder mergeAppConnection(AppConnection value)

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

.google.cloud.beyondcorp.appconnections.v1.AppConnection app_connection = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AppConnection
Returns
Type Description
UpdateAppConnectionRequest.Builder

mergeFrom(UpdateAppConnectionRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateAppConnectionRequest.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.AppConnection]:

  • labels
  • display_name
  • application_endpoint
  • connectors

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateAppConnectionRequest.Builder

setAllowMissing(boolean value)

public UpdateAppConnectionRequest.Builder setAllowMissing(boolean value)

Optional. If set as true, will create the resource if it is not found.

bool allow_missing = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The allowMissing to set.

Returns
Type Description
UpdateAppConnectionRequest.Builder

This builder for chaining.

setAppConnection(AppConnection value)

public UpdateAppConnectionRequest.Builder setAppConnection(AppConnection value)

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

.google.cloud.beyondcorp.appconnections.v1.AppConnection app_connection = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AppConnection
Returns
Type Description
UpdateAppConnectionRequest.Builder

setAppConnection(AppConnection.Builder builderForValue)

public UpdateAppConnectionRequest.Builder setAppConnection(AppConnection.Builder builderForValue)

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

.google.cloud.beyondcorp.appconnections.v1.AppConnection app_connection = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue AppConnection.Builder
Returns
Type Description
UpdateAppConnectionRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRequestId(String value)

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

This builder for chaining.

setRequestIdBytes(ByteString value)

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

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateAppConnectionRequest.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.AppConnection]:

  • labels
  • display_name
  • application_endpoint
  • connectors

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateAppConnectionRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateAppConnectionRequest.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.AppConnection]:

  • labels
  • display_name
  • application_endpoint
  • connectors

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateAppConnectionRequest.Builder

setValidateOnly(boolean value)

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

This builder for chaining.