Class ClientConnectorService.Builder (0.22.0)

public static final class ClientConnectorService.Builder extends GeneratedMessageV3.Builder<ClientConnectorService.Builder> implements ClientConnectorServiceOrBuilder

Message describing ClientConnectorService object.

Protobuf type google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ClientConnectorService build()
Returns
TypeDescription
ClientConnectorService

buildPartial()

public ClientConnectorService buildPartial()
Returns
TypeDescription
ClientConnectorService

clear()

public ClientConnectorService.Builder clear()
Returns
TypeDescription
ClientConnectorService.Builder
Overrides

clearCreateTime()

public ClientConnectorService.Builder clearCreateTime()

Output only. [Output only] Create time stamp.

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

Returns
TypeDescription
ClientConnectorService.Builder

clearDisplayName()

public ClientConnectorService.Builder clearDisplayName()

Optional. User-provided name. The display name should follow certain format.

  • Must be 6 to 30 characters in length.
  • Can only contain lowercase letters, numbers, and hyphens.
  • Must start with a letter.

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

Returns
TypeDescription
ClientConnectorService.Builder

This builder for chaining.

clearEgress()

public ClientConnectorService.Builder clearEgress()

Required. The details of the egress settings.

.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Egress egress = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ClientConnectorService.Builder

clearField(Descriptors.FieldDescriptor field)

public ClientConnectorService.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ClientConnectorService.Builder
Overrides

clearIngress()

public ClientConnectorService.Builder clearIngress()

Required. The details of the ingress settings.

.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress ingress = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ClientConnectorService.Builder

clearName()

public ClientConnectorService.Builder clearName()

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

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

Returns
TypeDescription
ClientConnectorService.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ClientConnectorService.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ClientConnectorService.Builder
Overrides

clearState()

public ClientConnectorService.Builder clearState()

Output only. The operational state of the ClientConnectorService.

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

Returns
TypeDescription
ClientConnectorService.Builder

This builder for chaining.

clearUpdateTime()

public ClientConnectorService.Builder clearUpdateTime()

Output only. [Output only] Update time stamp.

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

Returns
TypeDescription
ClientConnectorService.Builder

clone()

public ClientConnectorService.Builder clone()
Returns
TypeDescription
ClientConnectorService.Builder
Overrides

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 ClientConnectorService getDefaultInstanceForType()
Returns
TypeDescription
ClientConnectorService

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Optional. User-provided name. The display name should follow certain format.

  • Must be 6 to 30 characters in length.
  • Can only contain lowercase letters, numbers, and hyphens.
  • Must start with a letter.

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

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. User-provided name. The display name should follow certain format.

  • Must be 6 to 30 characters in length.
  • Can only contain lowercase letters, numbers, and hyphens.
  • Must start with a letter.

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

Returns
TypeDescription
ByteString

The bytes for displayName.

getEgress()

public ClientConnectorService.Egress getEgress()

Required. The details of the egress settings.

.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Egress egress = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ClientConnectorService.Egress

The egress.

getEgressBuilder()

public ClientConnectorService.Egress.Builder getEgressBuilder()

Required. The details of the egress settings.

.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Egress egress = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ClientConnectorService.Egress.Builder

getEgressOrBuilder()

public ClientConnectorService.EgressOrBuilder getEgressOrBuilder()

Required. The details of the egress settings.

.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Egress egress = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ClientConnectorService.EgressOrBuilder

getIngress()

public ClientConnectorService.Ingress getIngress()

Required. The details of the ingress settings.

.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress ingress = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ClientConnectorService.Ingress

The ingress.

getIngressBuilder()

public ClientConnectorService.Ingress.Builder getIngressBuilder()

Required. The details of the ingress settings.

.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress ingress = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ClientConnectorService.Ingress.Builder

getIngressOrBuilder()

public ClientConnectorService.IngressOrBuilder getIngressOrBuilder()

Required. The details of the ingress settings.

.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress ingress = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ClientConnectorService.IngressOrBuilder

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 ClientConnectorService.State getState()

Output only. The operational state of the ClientConnectorService.

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

Returns
TypeDescription
ClientConnectorService.State

The state.

getStateValue()

public int getStateValue()

Output only. The operational state of the ClientConnectorService.

.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.State state = 8 [(.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.

hasEgress()

public boolean hasEgress()

Required. The details of the egress settings.

.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Egress egress = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the egress field is set.

hasIngress()

public boolean hasIngress()

Required. The details of the ingress settings.

.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress ingress = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the ingress 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 ClientConnectorService.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
ClientConnectorService.Builder

mergeEgress(ClientConnectorService.Egress value)

public ClientConnectorService.Builder mergeEgress(ClientConnectorService.Egress value)

Required. The details of the egress settings.

.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Egress egress = 7 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueClientConnectorService.Egress
Returns
TypeDescription
ClientConnectorService.Builder

mergeFrom(ClientConnectorService other)

public ClientConnectorService.Builder mergeFrom(ClientConnectorService other)
Parameter
NameDescription
otherClientConnectorService
Returns
TypeDescription
ClientConnectorService.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeIngress(ClientConnectorService.Ingress value)

public ClientConnectorService.Builder mergeIngress(ClientConnectorService.Ingress value)

Required. The details of the ingress settings.

.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress ingress = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueClientConnectorService.Ingress
Returns
TypeDescription
ClientConnectorService.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ClientConnectorService.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ClientConnectorService.Builder
Overrides

mergeUpdateTime(Timestamp value)

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

setCreateTime(Timestamp value)

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

setCreateTime(Timestamp.Builder builderForValue)

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

setDisplayName(String value)

public ClientConnectorService.Builder setDisplayName(String value)

Optional. User-provided name. The display name should follow certain format.

  • Must be 6 to 30 characters in length.
  • Can only contain lowercase letters, numbers, and hyphens.
  • Must start with a letter.

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

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
ClientConnectorService.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public ClientConnectorService.Builder setDisplayNameBytes(ByteString value)

Optional. User-provided name. The display name should follow certain format.

  • Must be 6 to 30 characters in length.
  • Can only contain lowercase letters, numbers, and hyphens.
  • Must start with a letter.

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

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
ClientConnectorService.Builder

This builder for chaining.

setEgress(ClientConnectorService.Egress value)

public ClientConnectorService.Builder setEgress(ClientConnectorService.Egress value)

Required. The details of the egress settings.

.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Egress egress = 7 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueClientConnectorService.Egress
Returns
TypeDescription
ClientConnectorService.Builder

setEgress(ClientConnectorService.Egress.Builder builderForValue)

public ClientConnectorService.Builder setEgress(ClientConnectorService.Egress.Builder builderForValue)

Required. The details of the egress settings.

.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Egress egress = 7 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueClientConnectorService.Egress.Builder
Returns
TypeDescription
ClientConnectorService.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setIngress(ClientConnectorService.Ingress value)

public ClientConnectorService.Builder setIngress(ClientConnectorService.Ingress value)

Required. The details of the ingress settings.

.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress ingress = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueClientConnectorService.Ingress
Returns
TypeDescription
ClientConnectorService.Builder

setIngress(ClientConnectorService.Ingress.Builder builderForValue)

public ClientConnectorService.Builder setIngress(ClientConnectorService.Ingress.Builder builderForValue)

Required. The details of the ingress settings.

.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.Ingress ingress = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueClientConnectorService.Ingress.Builder
Returns
TypeDescription
ClientConnectorService.Builder

setName(String value)

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

This builder for chaining.

setNameBytes(ByteString value)

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

This builder for chaining.

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

public ClientConnectorService.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ClientConnectorService.Builder
Overrides

setState(ClientConnectorService.State value)

public ClientConnectorService.Builder setState(ClientConnectorService.State value)

Output only. The operational state of the ClientConnectorService.

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

Parameter
NameDescription
valueClientConnectorService.State

The state to set.

Returns
TypeDescription
ClientConnectorService.Builder

This builder for chaining.

setStateValue(int value)

public ClientConnectorService.Builder setStateValue(int value)

Output only. The operational state of the ClientConnectorService.

.google.cloud.beyondcorp.clientconnectorservices.v1.ClientConnectorService.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
ClientConnectorService.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ClientConnectorService.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ClientConnectorService.Builder
Overrides

setUpdateTime(Timestamp value)

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

setUpdateTime(Timestamp.Builder builderForValue)

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