Class ClientGateway.Builder (0.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ClientGateway build()
Returns
TypeDescription
ClientGateway

buildPartial()

public ClientGateway buildPartial()
Returns
TypeDescription
ClientGateway

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ClientGateway.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public ClientGateway getDefaultInstanceForType()
Returns
TypeDescription
ClientGateway

getDescriptorForType()

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

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

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

mergeFrom(ClientGateway other)

public ClientGateway.Builder mergeFrom(ClientGateway other)
Parameter
NameDescription
otherClientGateway
Returns
TypeDescription
ClientGateway.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The clientConnectorService to set.

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

The bytes for clientConnectorService to set.

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The id to set.

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

The bytes for id to set.

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

The name to set.

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

The bytes for name to set.

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

The state to set.

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

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

Returns
TypeDescription
ClientGateway.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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