Class ResolveAppConnectionsRequest.Builder (0.26.0)

public static final class ResolveAppConnectionsRequest.Builder extends GeneratedMessageV3.Builder<ResolveAppConnectionsRequest.Builder> implements ResolveAppConnectionsRequestOrBuilder

Request message for BeyondCorp.ResolveAppConnections.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ResolveAppConnectionsRequest build()
Returns
TypeDescription
ResolveAppConnectionsRequest

buildPartial()

public ResolveAppConnectionsRequest buildPartial()
Returns
TypeDescription
ResolveAppConnectionsRequest

clear()

public ResolveAppConnectionsRequest.Builder clear()
Returns
TypeDescription
ResolveAppConnectionsRequest.Builder
Overrides

clearAppConnectorId()

public ResolveAppConnectionsRequest.Builder clearAppConnectorId()

Required. BeyondCorp Connector name of the connector associated with those AppConnections using the form: projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}

string app_connector_id = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ResolveAppConnectionsRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ResolveAppConnectionsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ResolveAppConnectionsRequest.Builder
Overrides

clearPageSize()

public ResolveAppConnectionsRequest.Builder clearPageSize()

Optional. The maximum number of items to return. If not specified, a default value of 50 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's next_page_token to determine if there are more instances left to be queried.

int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ResolveAppConnectionsRequest.Builder

This builder for chaining.

clearPageToken()

public ResolveAppConnectionsRequest.Builder clearPageToken()

Optional. The next_page_token value returned from a previous ResolveAppConnectionsResponse, if any.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ResolveAppConnectionsRequest.Builder

This builder for chaining.

clearParent()

public ResolveAppConnectionsRequest.Builder clearParent()

Required. The resource name of the AppConnection location using the form: projects/{project_id}/locations/{location_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ResolveAppConnectionsRequest.Builder

This builder for chaining.

clone()

public ResolveAppConnectionsRequest.Builder clone()
Returns
TypeDescription
ResolveAppConnectionsRequest.Builder
Overrides

getAppConnectorId()

public String getAppConnectorId()

Required. BeyondCorp Connector name of the connector associated with those AppConnections using the form: projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}

string app_connector_id = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The appConnectorId.

getAppConnectorIdBytes()

public ByteString getAppConnectorIdBytes()

Required. BeyondCorp Connector name of the connector associated with those AppConnections using the form: projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}

string app_connector_id = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for appConnectorId.

getDefaultInstanceForType()

public ResolveAppConnectionsRequest getDefaultInstanceForType()
Returns
TypeDescription
ResolveAppConnectionsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPageSize()

public int getPageSize()

Optional. The maximum number of items to return. If not specified, a default value of 50 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's next_page_token to determine if there are more instances left to be queried.

int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. The next_page_token value returned from a previous ResolveAppConnectionsResponse, if any.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. The next_page_token value returned from a previous ResolveAppConnectionsResponse, if any.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The resource name of the AppConnection location using the form: projects/{project_id}/locations/{location_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the AppConnection location using the form: projects/{project_id}/locations/{location_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ResolveAppConnectionsRequest other)

public ResolveAppConnectionsRequest.Builder mergeFrom(ResolveAppConnectionsRequest other)
Parameter
NameDescription
otherResolveAppConnectionsRequest
Returns
TypeDescription
ResolveAppConnectionsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ResolveAppConnectionsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ResolveAppConnectionsRequest.Builder
Overrides

setAppConnectorId(String value)

public ResolveAppConnectionsRequest.Builder setAppConnectorId(String value)

Required. BeyondCorp Connector name of the connector associated with those AppConnections using the form: projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}

string app_connector_id = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The appConnectorId to set.

Returns
TypeDescription
ResolveAppConnectionsRequest.Builder

This builder for chaining.

setAppConnectorIdBytes(ByteString value)

public ResolveAppConnectionsRequest.Builder setAppConnectorIdBytes(ByteString value)

Required. BeyondCorp Connector name of the connector associated with those AppConnections using the form: projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}

string app_connector_id = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for appConnectorId to set.

Returns
TypeDescription
ResolveAppConnectionsRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ResolveAppConnectionsRequest.Builder setPageSize(int value)

Optional. The maximum number of items to return. If not specified, a default value of 50 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's next_page_token to determine if there are more instances left to be queried.

int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
ResolveAppConnectionsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ResolveAppConnectionsRequest.Builder setPageToken(String value)

Optional. The next_page_token value returned from a previous ResolveAppConnectionsResponse, if any.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ResolveAppConnectionsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ResolveAppConnectionsRequest.Builder setPageTokenBytes(ByteString value)

Optional. The next_page_token value returned from a previous ResolveAppConnectionsResponse, if any.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
ResolveAppConnectionsRequest.Builder

This builder for chaining.

setParent(String value)

public ResolveAppConnectionsRequest.Builder setParent(String value)

Required. The resource name of the AppConnection location using the form: projects/{project_id}/locations/{location_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ResolveAppConnectionsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ResolveAppConnectionsRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the AppConnection location using the form: projects/{project_id}/locations/{location_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ResolveAppConnectionsRequest.Builder

This builder for chaining.

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

public ResolveAppConnectionsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ResolveAppConnectionsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ResolveAppConnectionsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ResolveAppConnectionsRequest.Builder
Overrides