Class AppGateway.Builder (0.18.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.beyondcorp.appgateways.v1.AppGateway.AllocatedConnection>
Returns
TypeDescription
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
NameDescription
valueAppGateway.AllocatedConnection
Returns
TypeDescription
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
NameDescription
builderForValueAppGateway.AllocatedConnection.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAppGateway.AllocatedConnection
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAppGateway.AllocatedConnection.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
AppGateway.AllocatedConnection.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AppGateway build()
Returns
TypeDescription
AppGateway

buildPartial()

public AppGateway buildPartial()
Returns
TypeDescription
AppGateway

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearLabels()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDescriptorForType()

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

The enum numeric value on the wire for hostType.

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

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

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

getUri()

public String getUri()

Output only. Server-defined URI for this resource.

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

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

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
NameDescription
valueTimestamp
Returns
TypeDescription
AppGateway.Builder

mergeFrom(AppGateway other)

public AppGateway.Builder mergeFrom(AppGateway other)
Parameter
NameDescription
otherAppGateway
Returns
TypeDescription
AppGateway.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AppGateway.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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
NameDescription
keyString
valueString
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
indexint
valueAppGateway.AllocatedConnection
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAppGateway.AllocatedConnection.Builder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

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

The bytes for displayName to set.

Returns
TypeDescription
AppGateway.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AppGateway.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueAppGateway.HostType

The hostType to set.

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

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

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

The name to set.

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

The bytes for name to set.

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

The state to set.

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

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

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

The type to set.

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

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

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

The uid to set.

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

The bytes for uid to set.

Returns
TypeDescription
AppGateway.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

The uri to set.

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

The bytes for uri to set.

Returns
TypeDescription
AppGateway.Builder

This builder for chaining.