Class ClientGateway.Builder (0.45.0)

public static final class ClientGateway.Builder extends GeneratedMessageV3.Builder<ClientGateway.Builder> implements ClientGatewayOrBuilder

Message describing ClientGateway object.

Protobuf type google.cloud.beyondcorp.clientgateways.v1.ClientGateway

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ClientGateway build()
Returns
Type Description
ClientGateway

buildPartial()

public ClientGateway buildPartial()
Returns
Type Description
ClientGateway

clear()

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

clearClientConnectorService()

public ClientGateway.Builder clearClientConnectorService()

Output only. The client connector service name that the client gateway is associated to. Client Connector Services, named as follows: projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}.

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

Returns
Type Description
ClientGateway.Builder

This builder for chaining.

clearCreateTime()

public ClientGateway.Builder clearCreateTime()

Output only. [Output only] Create time stamp.

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

Returns
Type Description
ClientGateway.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearId()

public ClientGateway.Builder clearId()

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

string id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ClientGateway.Builder

This builder for chaining.

clearName()

public ClientGateway.Builder clearName()

Required. name of resource. The name is ignored during creation.

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

Returns
Type Description
ClientGateway.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public ClientGateway.Builder clearState()

Output only. The operational state of the gateway.

.google.cloud.beyondcorp.clientgateways.v1.ClientGateway.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ClientGateway.Builder

This builder for chaining.

clearUpdateTime()

public ClientGateway.Builder clearUpdateTime()

Output only. [Output only] Update time stamp.

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

Returns
Type Description
ClientGateway.Builder

clone()

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

getClientConnectorService()

public String getClientConnectorService()

Output only. The client connector service name that the client gateway is associated to. Client Connector Services, named as follows: projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}.

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

Returns
Type Description
String

The clientConnectorService.

getClientConnectorServiceBytes()

public ByteString getClientConnectorServiceBytes()

Output only. The client connector service name that the client gateway is associated to. Client Connector Services, named as follows: projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}.

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

Returns
Type Description
ByteString

The bytes for clientConnectorService.

getCreateTime()

public Timestamp getCreateTime()

Output only. [Output only] Create time stamp.

.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. [Output only] Create time stamp.

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

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. [Output only] Create time stamp.

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

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public ClientGateway getDefaultInstanceForType()
Returns
Type Description
ClientGateway

getDescriptorForType()

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

getId()

public String getId()

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

string id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

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

string id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for id.

getName()

public String getName()

Required. name of resource. The name is ignored during creation.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. name of resource. The name is ignored during creation.

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

Returns
Type Description
ByteString

The bytes for name.

getState()

public ClientGateway.State getState()

Output only. The operational state of the gateway.

.google.cloud.beyondcorp.clientgateways.v1.ClientGateway.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ClientGateway.State

The state.

getStateValue()

public int getStateValue()

Output only. The operational state of the gateway.

.google.cloud.beyondcorp.clientgateways.v1.ClientGateway.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. [Output only] Update time stamp.

.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. [Output only] Update time stamp.

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

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. [Output only] Update time stamp.

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

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. [Output only] Create time stamp.

.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. [Output only] Update time stamp.

.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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public ClientGateway.Builder mergeCreateTime(Timestamp value)

Output only. [Output only] Create time stamp.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
ClientGateway.Builder

mergeFrom(ClientGateway other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public ClientGateway.Builder mergeUpdateTime(Timestamp value)

Output only. [Output only] Update time stamp.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
ClientGateway.Builder

setClientConnectorService(String value)

public ClientGateway.Builder setClientConnectorService(String value)

Output only. The client connector service name that the client gateway is associated to. Client Connector Services, named as follows: projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}.

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

Parameter
Name Description
value String

The clientConnectorService to set.

Returns
Type Description
ClientGateway.Builder

This builder for chaining.

setClientConnectorServiceBytes(ByteString value)

public ClientGateway.Builder setClientConnectorServiceBytes(ByteString value)

Output only. The client connector service name that the client gateway is associated to. Client Connector Services, named as follows: projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}.

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

Parameter
Name Description
value ByteString

The bytes for clientConnectorService to set.

Returns
Type Description
ClientGateway.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public ClientGateway.Builder setCreateTime(Timestamp value)

Output only. [Output only] Create time stamp.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
ClientGateway.Builder

setCreateTime(Timestamp.Builder builderForValue)

public ClientGateway.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. [Output only] Create time stamp.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ClientGateway.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setId(String value)

public ClientGateway.Builder setId(String value)

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

string id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The id to set.

Returns
Type Description
ClientGateway.Builder

This builder for chaining.

setIdBytes(ByteString value)

public ClientGateway.Builder setIdBytes(ByteString value)

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

string id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
ClientGateway.Builder

This builder for chaining.

setName(String value)

public ClientGateway.Builder setName(String value)

Required. name of resource. The name is ignored during creation.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ClientGateway.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ClientGateway.Builder setNameBytes(ByteString value)

Required. name of resource. The name is ignored during creation.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ClientGateway.Builder

This builder for chaining.

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

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

setState(ClientGateway.State value)

public ClientGateway.Builder setState(ClientGateway.State value)

Output only. The operational state of the gateway.

.google.cloud.beyondcorp.clientgateways.v1.ClientGateway.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ClientGateway.State

The state to set.

Returns
Type Description
ClientGateway.Builder

This builder for chaining.

setStateValue(int value)

public ClientGateway.Builder setStateValue(int value)

Output only. The operational state of the gateway.

.google.cloud.beyondcorp.clientgateways.v1.ClientGateway.State state = 4 [(.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
ClientGateway.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public ClientGateway.Builder setUpdateTime(Timestamp value)

Output only. [Output only] Update time stamp.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
ClientGateway.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public ClientGateway.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. [Output only] Update time stamp.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ClientGateway.Builder