Class UpdateAppConnectionRequest.Builder (0.21.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateAppConnectionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateAppConnectionRequest.Builder
Overrides

build()

public UpdateAppConnectionRequest build()
Returns
TypeDescription
UpdateAppConnectionRequest

buildPartial()

public UpdateAppConnectionRequest buildPartial()
Returns
TypeDescription
UpdateAppConnectionRequest

clear()

public UpdateAppConnectionRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
UpdateAppConnectionRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateAppConnectionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateAppConnectionRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateAppConnectionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
UpdateAppConnectionRequest.Builder

This builder for chaining.

clone()

public UpdateAppConnectionRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AppConnectionOrBuilder

getDefaultInstanceForType()

public UpdateAppConnectionRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateAppConnectionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAppConnection
Returns
TypeDescription
UpdateAppConnectionRequest.Builder

mergeFrom(UpdateAppConnectionRequest other)

public UpdateAppConnectionRequest.Builder mergeFrom(UpdateAppConnectionRequest other)
Parameter
NameDescription
otherUpdateAppConnectionRequest
Returns
TypeDescription
UpdateAppConnectionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateAppConnectionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateAppConnectionRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateAppConnectionRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateAppConnectionRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAppConnectionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueboolean

The allowMissing to set.

Returns
TypeDescription
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
NameDescription
valueAppConnection
Returns
TypeDescription
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
NameDescription
builderForValueAppConnection.Builder
Returns
TypeDescription
UpdateAppConnectionRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateAppConnectionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateAppConnectionRequest.Builder
Overrides

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

public UpdateAppConnectionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The requestId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for requestId to set.

Returns
TypeDescription
UpdateAppConnectionRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAppConnectionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueboolean

The validateOnly to set.

Returns
TypeDescription
UpdateAppConnectionRequest.Builder

This builder for chaining.