Class AppConnection.Builder (0.26.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
TypeDescription
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
NameDescription
valuesIterable<String>

The connectors to add.

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

The connectors to add.

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

The bytes of the connectors to add.

Returns
TypeDescription
AppConnection.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AppConnection build()
Returns
TypeDescription
AppConnection

buildPartial()

public AppConnection buildPartial()
Returns
TypeDescription
AppConnection

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AppConnection.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
AppConnection.Builder

clearLabels()

public AppConnection.Builder clearLabels()
Returns
TypeDescription
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
TypeDescription
AppConnection.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public AppConnection.Builder clone()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

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

The index of the value to return.

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

getDefaultInstanceForType()

public AppConnection getDefaultInstanceForType()
Returns
TypeDescription
AppConnection

getDescriptorForType()

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

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
String

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

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

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

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

mergeFrom(AppConnection other)

public AppConnection.Builder mergeFrom(AppConnection other)
Parameter
NameDescription
otherAppConnection
Returns
TypeDescription
AppConnection.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AppConnection.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueAppConnection.Gateway
Returns
TypeDescription
AppConnection.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AppConnection.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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
NameDescription
keyString
valueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
valueAppConnection.ApplicationEndpoint
Returns
TypeDescription
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
NameDescription
builderForValueAppConnection.ApplicationEndpoint.Builder
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The connectors to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

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

The bytes for displayName to set.

Returns
TypeDescription
AppConnection.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AppConnection.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueAppConnection.Gateway
Returns
TypeDescription
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
NameDescription
builderForValueAppConnection.Gateway.Builder
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueAppConnection.State

The state to set.

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

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

Returns
TypeDescription
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
NameDescription
valueAppConnection.Type

The type to set.

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

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

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

The uid to set.

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

The bytes for uid to set.

Returns
TypeDescription
AppConnection.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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