Class AppConnection.Builder (0.46.0)

public static final class AppConnection.Builder extends GeneratedMessageV3.Builder<AppConnection.Builder> implements AppConnectionOrBuilder

A BeyondCorp AppConnection resource represents a BeyondCorp protected AppConnection to a remote application. It creates all the necessary GCP components needed for creating a BeyondCorp protected AppConnection. Multiple connectors can be authorised for a single AppConnection.

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

Static Methods

getDescriptor()

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

Methods

addAllConnectors(Iterable<String> values)

public AppConnection.Builder addAllConnectors(Iterable<String> values)

Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this AppConnection.

repeated string connectors = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The connectors to add.

Returns
Type Description
AppConnection.Builder

This builder for chaining.

addConnectors(String value)

public AppConnection.Builder addConnectors(String value)

Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this AppConnection.

repeated string connectors = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The connectors to add.

Returns
Type Description
AppConnection.Builder

This builder for chaining.

addConnectorsBytes(ByteString value)

public AppConnection.Builder addConnectorsBytes(ByteString value)

Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this AppConnection.

repeated string connectors = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the connectors to add.

Returns
Type Description
AppConnection.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AppConnection build()
Returns
Type Description
AppConnection

buildPartial()

public AppConnection buildPartial()
Returns
Type Description
AppConnection

clear()

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

clearApplicationEndpoint()

public AppConnection.Builder clearApplicationEndpoint()

Required. Address of the remote application endpoint for the BeyondCorp AppConnection.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.ApplicationEndpoint application_endpoint = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AppConnection.Builder

clearConnectors()

public AppConnection.Builder clearConnectors()

Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this AppConnection.

repeated string connectors = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AppConnection.Builder

This builder for chaining.

clearCreateTime()

public AppConnection.Builder clearCreateTime()

Output only. Timestamp when the resource was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AppConnection.Builder

clearDisplayName()

public AppConnection.Builder clearDisplayName()

Optional. An arbitrary user-provided name for the AppConnection. Cannot exceed 64 characters.

string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AppConnection.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearGateway()

public AppConnection.Builder clearGateway()

Optional. Gateway used by the AppConnection.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway gateway = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AppConnection.Builder

clearLabels()

public AppConnection.Builder clearLabels()
Returns
Type Description
AppConnection.Builder

clearName()

public AppConnection.Builder clearName()

Required. Unique resource name of the AppConnection. The name is ignored when creating a AppConnection.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AppConnection.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public AppConnection.Builder clearState()

Output only. The current state of the AppConnection.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AppConnection.Builder

This builder for chaining.

clearType()

public AppConnection.Builder clearType()

Required. The type of network connectivity used by the AppConnection.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.Type type = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AppConnection.Builder

This builder for chaining.

clearUid()

public AppConnection.Builder clearUid()

Output only. A unique identifier for the instance generated by the system.

string uid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AppConnection.Builder

This builder for chaining.

clearUpdateTime()

public AppConnection.Builder clearUpdateTime()

Output only. Timestamp when the resource was last modified.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AppConnection.Builder

clone()

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

containsLabels(String key)

public boolean containsLabels(String key)

Optional. Resource labels to represent user provided metadata.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getApplicationEndpoint()

public AppConnection.ApplicationEndpoint getApplicationEndpoint()

Required. Address of the remote application endpoint for the BeyondCorp AppConnection.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.ApplicationEndpoint application_endpoint = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AppConnection.ApplicationEndpoint

The applicationEndpoint.

getApplicationEndpointBuilder()

public AppConnection.ApplicationEndpoint.Builder getApplicationEndpointBuilder()

Required. Address of the remote application endpoint for the BeyondCorp AppConnection.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.ApplicationEndpoint application_endpoint = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AppConnection.ApplicationEndpoint.Builder

getApplicationEndpointOrBuilder()

public AppConnection.ApplicationEndpointOrBuilder getApplicationEndpointOrBuilder()

Required. Address of the remote application endpoint for the BeyondCorp AppConnection.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.ApplicationEndpoint application_endpoint = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AppConnection.ApplicationEndpointOrBuilder

getConnectors(int index)

public String getConnectors(int index)

Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this AppConnection.

repeated string connectors = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The connectors at the given index.

getConnectorsBytes(int index)

public ByteString getConnectorsBytes(int index)

Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this AppConnection.

repeated string connectors = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the connectors at the given index.

getConnectorsCount()

public int getConnectorsCount()

Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this AppConnection.

repeated string connectors = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of connectors.

getConnectorsList()

public ProtocolStringList getConnectorsList()

Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this AppConnection.

repeated string connectors = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the connectors.

getCreateTime()

public Timestamp getCreateTime()

Output only. Timestamp when the resource was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Timestamp when the resource was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp when the resource was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public AppConnection getDefaultInstanceForType()
Returns
Type Description
AppConnection

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Optional. An arbitrary user-provided name for the AppConnection. Cannot exceed 64 characters.

string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. An arbitrary user-provided name for the AppConnection. Cannot exceed 64 characters.

string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for displayName.

getGateway()

public AppConnection.Gateway getGateway()

Optional. Gateway used by the AppConnection.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway gateway = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AppConnection.Gateway

The gateway.

getGatewayBuilder()

public AppConnection.Gateway.Builder getGatewayBuilder()

Optional. Gateway used by the AppConnection.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway gateway = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AppConnection.Gateway.Builder

getGatewayOrBuilder()

public AppConnection.GatewayOrBuilder getGatewayOrBuilder()

Optional. Gateway used by the AppConnection.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway gateway = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AppConnection.GatewayOrBuilder

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Optional. Resource labels to represent user provided metadata.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Optional. Resource labels to represent user provided metadata.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Optional. Resource labels to represent user provided metadata.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Optional. Resource labels to represent user provided metadata.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

public String getName()

Required. Unique resource name of the AppConnection. The name is ignored when creating a AppConnection.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Unique resource name of the AppConnection. The name is ignored when creating a AppConnection.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

getState()

public AppConnection.State getState()

Output only. The current state of the AppConnection.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AppConnection.State

The state.

getStateValue()

public int getStateValue()

Output only. The current state of the AppConnection.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getType()

public AppConnection.Type getType()

Required. The type of network connectivity used by the AppConnection.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.Type type = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AppConnection.Type

The type.

getTypeValue()

public int getTypeValue()

Required. The type of network connectivity used by the AppConnection.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.Type type = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for type.

getUid()

public String getUid()

Output only. A unique identifier for the instance generated by the system.

string uid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The uid.

getUidBytes()

public ByteString getUidBytes()

Output only. A unique identifier for the instance generated by the system.

string uid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for uid.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Timestamp when the resource was last modified.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Timestamp when the resource was last modified.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Timestamp when the resource was last modified.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasApplicationEndpoint()

public boolean hasApplicationEndpoint()

Required. Address of the remote application endpoint for the BeyondCorp AppConnection.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.ApplicationEndpoint application_endpoint = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the applicationEndpoint field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. Timestamp when the resource was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasGateway()

public boolean hasGateway()

Optional. Gateway used by the AppConnection.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway gateway = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the gateway field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Timestamp when the resource was last modified.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeApplicationEndpoint(AppConnection.ApplicationEndpoint value)

public AppConnection.Builder mergeApplicationEndpoint(AppConnection.ApplicationEndpoint value)

Required. Address of the remote application endpoint for the BeyondCorp AppConnection.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.ApplicationEndpoint application_endpoint = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AppConnection.ApplicationEndpoint
Returns
Type Description
AppConnection.Builder

mergeCreateTime(Timestamp value)

public AppConnection.Builder mergeCreateTime(Timestamp value)

Output only. Timestamp when the resource was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
AppConnection.Builder

mergeFrom(AppConnection other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGateway(AppConnection.Gateway value)

public AppConnection.Builder mergeGateway(AppConnection.Gateway value)

Optional. Gateway used by the AppConnection.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway gateway = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AppConnection.Gateway
Returns
Type Description
AppConnection.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public AppConnection.Builder mergeUpdateTime(Timestamp value)

Output only. Timestamp when the resource was last modified.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
AppConnection.Builder

putAllLabels(Map<String,String> values)

public AppConnection.Builder putAllLabels(Map<String,String> values)

Optional. Resource labels to represent user provided metadata.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
AppConnection.Builder

putLabels(String key, String value)

public AppConnection.Builder putLabels(String key, String value)

Optional. Resource labels to represent user provided metadata.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value String
Returns
Type Description
AppConnection.Builder

removeLabels(String key)

public AppConnection.Builder removeLabels(String key)

Optional. Resource labels to represent user provided metadata.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
AppConnection.Builder

setApplicationEndpoint(AppConnection.ApplicationEndpoint value)

public AppConnection.Builder setApplicationEndpoint(AppConnection.ApplicationEndpoint value)

Required. Address of the remote application endpoint for the BeyondCorp AppConnection.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.ApplicationEndpoint application_endpoint = 8 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AppConnection.ApplicationEndpoint
Returns
Type Description
AppConnection.Builder

setApplicationEndpoint(AppConnection.ApplicationEndpoint.Builder builderForValue)

public AppConnection.Builder setApplicationEndpoint(AppConnection.ApplicationEndpoint.Builder builderForValue)

Required. Address of the remote application endpoint for the BeyondCorp AppConnection.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.ApplicationEndpoint application_endpoint = 8 [(.google.api.field_behavior) = REQUIRED];

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

setConnectors(int index, String value)

public AppConnection.Builder setConnectors(int index, String value)

Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this AppConnection.

repeated string connectors = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The connectors to set.

Returns
Type Description
AppConnection.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public AppConnection.Builder setCreateTime(Timestamp value)

Output only. Timestamp when the resource was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
AppConnection.Builder

setCreateTime(Timestamp.Builder builderForValue)

public AppConnection.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when the resource was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AppConnection.Builder

setDisplayName(String value)

public AppConnection.Builder setDisplayName(String value)

Optional. An arbitrary user-provided name for the AppConnection. Cannot exceed 64 characters.

string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
AppConnection.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public AppConnection.Builder setDisplayNameBytes(ByteString value)

Optional. An arbitrary user-provided name for the AppConnection. Cannot exceed 64 characters.

string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
AppConnection.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setGateway(AppConnection.Gateway value)

public AppConnection.Builder setGateway(AppConnection.Gateway value)

Optional. Gateway used by the AppConnection.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway gateway = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AppConnection.Gateway
Returns
Type Description
AppConnection.Builder

setGateway(AppConnection.Gateway.Builder builderForValue)

public AppConnection.Builder setGateway(AppConnection.Gateway.Builder builderForValue)

Optional. Gateway used by the AppConnection.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.Gateway gateway = 11 [(.google.api.field_behavior) = OPTIONAL];

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

setName(String value)

public AppConnection.Builder setName(String value)

Required. Unique resource name of the AppConnection. The name is ignored when creating a AppConnection.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
AppConnection.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AppConnection.Builder setNameBytes(ByteString value)

Required. Unique resource name of the AppConnection. The name is ignored when creating a AppConnection.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
AppConnection.Builder

This builder for chaining.

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

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

setState(AppConnection.State value)

public AppConnection.Builder setState(AppConnection.State value)

Output only. The current state of the AppConnection.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AppConnection.State

The state to set.

Returns
Type Description
AppConnection.Builder

This builder for chaining.

setStateValue(int value)

public AppConnection.Builder setStateValue(int value)

Output only. The current state of the AppConnection.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
AppConnection.Builder

This builder for chaining.

setType(AppConnection.Type value)

public AppConnection.Builder setType(AppConnection.Type value)

Required. The type of network connectivity used by the AppConnection.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.Type type = 7 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AppConnection.Type

The type to set.

Returns
Type Description
AppConnection.Builder

This builder for chaining.

setTypeValue(int value)

public AppConnection.Builder setTypeValue(int value)

Required. The type of network connectivity used by the AppConnection.

.google.cloud.beyondcorp.appconnections.v1.AppConnection.Type type = 7 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
AppConnection.Builder

This builder for chaining.

setUid(String value)

public AppConnection.Builder setUid(String value)

Output only. A unique identifier for the instance generated by the system.

string uid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The uid to set.

Returns
Type Description
AppConnection.Builder

This builder for chaining.

setUidBytes(ByteString value)

public AppConnection.Builder setUidBytes(ByteString value)

Output only. A unique identifier for the instance generated by the system.

string uid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for uid to set.

Returns
Type Description
AppConnection.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public AppConnection.Builder setUpdateTime(Timestamp value)

Output only. Timestamp when the resource was last modified.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
AppConnection.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public AppConnection.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when the resource was last modified.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AppConnection.Builder