Class AppGateway.Builder (0.43.0)

public static final class AppGateway.Builder extends GeneratedMessageV3.Builder<AppGateway.Builder> implements AppGatewayOrBuilder

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

Protobuf type google.cloud.beyondcorp.appgateways.v1.AppGateway

Implements

AppGatewayOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllAllocatedConnections(Iterable<? extends AppGateway.AllocatedConnection> values)

public AppGateway.Builder addAllAllocatedConnections(Iterable<? extends AppGateway.AllocatedConnection> values)

Output only. A list of connections allocated for the Gateway

repeated .google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection allocated_connections = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection>
Returns
Type Description
AppGateway.Builder

addAllocatedConnections(AppGateway.AllocatedConnection value)

public AppGateway.Builder addAllocatedConnections(AppGateway.AllocatedConnection value)

Output only. A list of connections allocated for the Gateway

repeated .google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection allocated_connections = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AppGateway.AllocatedConnection
Returns
Type Description
AppGateway.Builder

addAllocatedConnections(AppGateway.AllocatedConnection.Builder builderForValue)

public AppGateway.Builder addAllocatedConnections(AppGateway.AllocatedConnection.Builder builderForValue)

Output only. A list of connections allocated for the Gateway

repeated .google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection allocated_connections = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue AppGateway.AllocatedConnection.Builder
Returns
Type Description
AppGateway.Builder

addAllocatedConnections(int index, AppGateway.AllocatedConnection value)

public AppGateway.Builder addAllocatedConnections(int index, AppGateway.AllocatedConnection value)

Output only. A list of connections allocated for the Gateway

repeated .google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection allocated_connections = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value AppGateway.AllocatedConnection
Returns
Type Description
AppGateway.Builder

addAllocatedConnections(int index, AppGateway.AllocatedConnection.Builder builderForValue)

public AppGateway.Builder addAllocatedConnections(int index, AppGateway.AllocatedConnection.Builder builderForValue)

Output only. A list of connections allocated for the Gateway

repeated .google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection allocated_connections = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue AppGateway.AllocatedConnection.Builder
Returns
Type Description
AppGateway.Builder

addAllocatedConnectionsBuilder()

public AppGateway.AllocatedConnection.Builder addAllocatedConnectionsBuilder()

Output only. A list of connections allocated for the Gateway

repeated .google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection allocated_connections = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AppGateway.AllocatedConnection.Builder

addAllocatedConnectionsBuilder(int index)

public AppGateway.AllocatedConnection.Builder addAllocatedConnectionsBuilder(int index)

Output only. A list of connections allocated for the Gateway

repeated .google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection allocated_connections = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AppGateway.AllocatedConnection.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AppGateway build()
Returns
Type Description
AppGateway

buildPartial()

public AppGateway buildPartial()
Returns
Type Description
AppGateway

clear()

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

clearAllocatedConnections()

public AppGateway.Builder clearAllocatedConnections()

Output only. A list of connections allocated for the Gateway

repeated .google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection allocated_connections = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AppGateway.Builder

clearCreateTime()

public AppGateway.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
AppGateway.Builder

clearDisplayName()

public AppGateway.Builder clearDisplayName()

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

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

Returns
Type Description
AppGateway.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearHostType()

public AppGateway.Builder clearHostType()

Required. The type of hosting used by the AppGateway.

.google.cloud.beyondcorp.appgateways.v1.AppGateway.HostType host_type = 11 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AppGateway.Builder

This builder for chaining.

clearLabels()

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

clearName()

public AppGateway.Builder clearName()

Required. Unique resource name of the AppGateway. The name is ignored when creating an AppGateway.

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

Returns
Type Description
AppGateway.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public AppGateway.Builder clearState()

Output only. The current state of the AppGateway.

.google.cloud.beyondcorp.appgateways.v1.AppGateway.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AppGateway.Builder

This builder for chaining.

clearType()

public AppGateway.Builder clearType()

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

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

Returns
Type Description
AppGateway.Builder

This builder for chaining.

clearUid()

public AppGateway.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
AppGateway.Builder

This builder for chaining.

clearUpdateTime()

public AppGateway.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
AppGateway.Builder

clearUri()

public AppGateway.Builder clearUri()

Output only. Server-defined URI for this resource.

string uri = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AppGateway.Builder

This builder for chaining.

clone()

public AppGateway.Builder clone()
Returns
Type Description
AppGateway.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

getAllocatedConnections(int index)

public AppGateway.AllocatedConnection getAllocatedConnections(int index)

Output only. A list of connections allocated for the Gateway

repeated .google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection allocated_connections = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AppGateway.AllocatedConnection

getAllocatedConnectionsBuilder(int index)

public AppGateway.AllocatedConnection.Builder getAllocatedConnectionsBuilder(int index)

Output only. A list of connections allocated for the Gateway

repeated .google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection allocated_connections = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AppGateway.AllocatedConnection.Builder

getAllocatedConnectionsBuilderList()

public List<AppGateway.AllocatedConnection.Builder> getAllocatedConnectionsBuilderList()

Output only. A list of connections allocated for the Gateway

repeated .google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection allocated_connections = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getAllocatedConnectionsCount()

public int getAllocatedConnectionsCount()

Output only. A list of connections allocated for the Gateway

repeated .google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection allocated_connections = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getAllocatedConnectionsList()

public List<AppGateway.AllocatedConnection> getAllocatedConnectionsList()

Output only. A list of connections allocated for the Gateway

repeated .google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection allocated_connections = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<AllocatedConnection>

getAllocatedConnectionsOrBuilder(int index)

public AppGateway.AllocatedConnectionOrBuilder getAllocatedConnectionsOrBuilder(int index)

Output only. A list of connections allocated for the Gateway

repeated .google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection allocated_connections = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AppGateway.AllocatedConnectionOrBuilder

getAllocatedConnectionsOrBuilderList()

public List<? extends AppGateway.AllocatedConnectionOrBuilder> getAllocatedConnectionsOrBuilderList()

Output only. A list of connections allocated for the Gateway

repeated .google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection allocated_connections = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnectionOrBuilder>

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 AppGateway getDefaultInstanceForType()
Returns
Type Description
AppGateway

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Optional. An arbitrary user-provided name for the AppGateway. 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 AppGateway. Cannot exceed 64 characters.

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

Returns
Type Description
ByteString

The bytes for displayName.

getHostType()

public AppGateway.HostType getHostType()

Required. The type of hosting used by the AppGateway.

.google.cloud.beyondcorp.appgateways.v1.AppGateway.HostType host_type = 11 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AppGateway.HostType

The hostType.

getHostTypeValue()

public int getHostTypeValue()

Required. The type of hosting used by the AppGateway.

.google.cloud.beyondcorp.appgateways.v1.AppGateway.HostType host_type = 11 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for hostType.

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 AppGateway. The name is ignored when creating an AppGateway.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Unique resource name of the AppGateway. The name is ignored when creating an AppGateway.

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

Returns
Type Description
ByteString

The bytes for name.

getState()

public AppGateway.State getState()

Output only. The current state of the AppGateway.

.google.cloud.beyondcorp.appgateways.v1.AppGateway.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AppGateway.State

The state.

getStateValue()

public int getStateValue()

Output only. The current state of the AppGateway.

.google.cloud.beyondcorp.appgateways.v1.AppGateway.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getType()

public AppGateway.Type getType()

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

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

Returns
Type Description
AppGateway.Type

The type.

getTypeValue()

public int getTypeValue()

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

.google.cloud.beyondcorp.appgateways.v1.AppGateway.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

getUri()

public String getUri()

Output only. Server-defined URI for this resource.

string uri = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

Output only. Server-defined URI for this resource.

string uri = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for uri.

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.

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

mergeCreateTime(Timestamp value)

public AppGateway.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
AppGateway.Builder

mergeFrom(AppGateway other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public AppGateway.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
AppGateway.Builder

putAllLabels(Map<String,String> values)

public AppGateway.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
AppGateway.Builder

putLabels(String key, String value)

public AppGateway.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
AppGateway.Builder

removeAllocatedConnections(int index)

public AppGateway.Builder removeAllocatedConnections(int index)

Output only. A list of connections allocated for the Gateway

repeated .google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection allocated_connections = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AppGateway.Builder

removeLabels(String key)

public AppGateway.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
AppGateway.Builder

setAllocatedConnections(int index, AppGateway.AllocatedConnection value)

public AppGateway.Builder setAllocatedConnections(int index, AppGateway.AllocatedConnection value)

Output only. A list of connections allocated for the Gateway

repeated .google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection allocated_connections = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value AppGateway.AllocatedConnection
Returns
Type Description
AppGateway.Builder

setAllocatedConnections(int index, AppGateway.AllocatedConnection.Builder builderForValue)

public AppGateway.Builder setAllocatedConnections(int index, AppGateway.AllocatedConnection.Builder builderForValue)

Output only. A list of connections allocated for the Gateway

repeated .google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection allocated_connections = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue AppGateway.AllocatedConnection.Builder
Returns
Type Description
AppGateway.Builder

setCreateTime(Timestamp value)

public AppGateway.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
AppGateway.Builder

setCreateTime(Timestamp.Builder builderForValue)

public AppGateway.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
AppGateway.Builder

setDisplayName(String value)

public AppGateway.Builder setDisplayName(String value)

Optional. An arbitrary user-provided name for the AppGateway. 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
AppGateway.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public AppGateway.Builder setDisplayNameBytes(ByteString value)

Optional. An arbitrary user-provided name for the AppGateway. 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
AppGateway.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setHostType(AppGateway.HostType value)

public AppGateway.Builder setHostType(AppGateway.HostType value)

Required. The type of hosting used by the AppGateway.

.google.cloud.beyondcorp.appgateways.v1.AppGateway.HostType host_type = 11 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AppGateway.HostType

The hostType to set.

Returns
Type Description
AppGateway.Builder

This builder for chaining.

setHostTypeValue(int value)

public AppGateway.Builder setHostTypeValue(int value)

Required. The type of hosting used by the AppGateway.

.google.cloud.beyondcorp.appgateways.v1.AppGateway.HostType host_type = 11 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

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

Returns
Type Description
AppGateway.Builder

This builder for chaining.

setName(String value)

public AppGateway.Builder setName(String value)

Required. Unique resource name of the AppGateway. The name is ignored when creating an AppGateway.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
AppGateway.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AppGateway.Builder setNameBytes(ByteString value)

Required. Unique resource name of the AppGateway. The name is ignored when creating an AppGateway.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
AppGateway.Builder

This builder for chaining.

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

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

setState(AppGateway.State value)

public AppGateway.Builder setState(AppGateway.State value)

Output only. The current state of the AppGateway.

.google.cloud.beyondcorp.appgateways.v1.AppGateway.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AppGateway.State

The state to set.

Returns
Type Description
AppGateway.Builder

This builder for chaining.

setStateValue(int value)

public AppGateway.Builder setStateValue(int value)

Output only. The current state of the AppGateway.

.google.cloud.beyondcorp.appgateways.v1.AppGateway.State state = 8 [(.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
AppGateway.Builder

This builder for chaining.

setType(AppGateway.Type value)

public AppGateway.Builder setType(AppGateway.Type value)

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

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

Parameter
Name Description
value AppGateway.Type

The type to set.

Returns
Type Description
AppGateway.Builder

This builder for chaining.

setTypeValue(int value)

public AppGateway.Builder setTypeValue(int value)

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

.google.cloud.beyondcorp.appgateways.v1.AppGateway.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
AppGateway.Builder

This builder for chaining.

setUid(String value)

public AppGateway.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
AppGateway.Builder

This builder for chaining.

setUidBytes(ByteString value)

public AppGateway.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
AppGateway.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public AppGateway.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
AppGateway.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public AppGateway.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
AppGateway.Builder

setUri(String value)

public AppGateway.Builder setUri(String value)

Output only. Server-defined URI for this resource.

string uri = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
AppGateway.Builder

This builder for chaining.

setUriBytes(ByteString value)

public AppGateway.Builder setUriBytes(ByteString value)

Output only. Server-defined URI for this resource.

string uri = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
AppGateway.Builder

This builder for chaining.