Class UpdateAppConnectorRequest.Builder (0.28.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateAppConnectorRequest build()
Returns
TypeDescription
UpdateAppConnectorRequest

buildPartial()

public UpdateAppConnectorRequest buildPartial()
Returns
TypeDescription
UpdateAppConnectorRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public UpdateAppConnectorRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateAppConnectorRequest

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

  • labels
  • display_name

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

  • labels
  • display_name

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

  • labels
  • display_name

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

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

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
NameDescription
valueAppConnector
Returns
TypeDescription
UpdateAppConnectorRequest.Builder

mergeFrom(UpdateAppConnectorRequest other)

public UpdateAppConnectorRequest.Builder mergeFrom(UpdateAppConnectorRequest other)
Parameter
NameDescription
otherUpdateAppConnectorRequest
Returns
TypeDescription
UpdateAppConnectorRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

The requestId to set.

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

The bytes for requestId to set.

Returns
TypeDescription
UpdateAppConnectorRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

The validateOnly to set.

Returns
TypeDescription
UpdateAppConnectorRequest.Builder

This builder for chaining.