Class ServiceAttachmentConnectedEndpoint.Builder (1.58.0)

public static final class ServiceAttachmentConnectedEndpoint.Builder extends GeneratedMessageV3.Builder<ServiceAttachmentConnectedEndpoint.Builder> implements ServiceAttachmentConnectedEndpointOrBuilder

[Output Only] A connection connected to this service attachment.

Protobuf type google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ServiceAttachmentConnectedEndpoint build()
Returns
Type Description
ServiceAttachmentConnectedEndpoint

buildPartial()

public ServiceAttachmentConnectedEndpoint buildPartial()
Returns
Type Description
ServiceAttachmentConnectedEndpoint

clear()

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

clearConsumerNetwork()

public ServiceAttachmentConnectedEndpoint.Builder clearConsumerNetwork()

The url of the consumer network.

optional string consumer_network = 254357221;

Returns
Type Description
ServiceAttachmentConnectedEndpoint.Builder

This builder for chaining.

clearEndpoint()

public ServiceAttachmentConnectedEndpoint.Builder clearEndpoint()

The url of a connected endpoint.

optional string endpoint = 130489749;

Returns
Type Description
ServiceAttachmentConnectedEndpoint.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPscConnectionId()

public ServiceAttachmentConnectedEndpoint.Builder clearPscConnectionId()

The PSC connection id of the connected endpoint.

optional uint64 psc_connection_id = 292082397;

Returns
Type Description
ServiceAttachmentConnectedEndpoint.Builder

This builder for chaining.

clearStatus()

public ServiceAttachmentConnectedEndpoint.Builder clearStatus()

The status of a connected endpoint to this service attachment. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
Type Description
ServiceAttachmentConnectedEndpoint.Builder

This builder for chaining.

clone()

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

getConsumerNetwork()

public String getConsumerNetwork()

The url of the consumer network.

optional string consumer_network = 254357221;

Returns
Type Description
String

The consumerNetwork.

getConsumerNetworkBytes()

public ByteString getConsumerNetworkBytes()

The url of the consumer network.

optional string consumer_network = 254357221;

Returns
Type Description
ByteString

The bytes for consumerNetwork.

getDefaultInstanceForType()

public ServiceAttachmentConnectedEndpoint getDefaultInstanceForType()
Returns
Type Description
ServiceAttachmentConnectedEndpoint

getDescriptorForType()

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

getEndpoint()

public String getEndpoint()

The url of a connected endpoint.

optional string endpoint = 130489749;

Returns
Type Description
String

The endpoint.

getEndpointBytes()

public ByteString getEndpointBytes()

The url of a connected endpoint.

optional string endpoint = 130489749;

Returns
Type Description
ByteString

The bytes for endpoint.

getPscConnectionId()

public long getPscConnectionId()

The PSC connection id of the connected endpoint.

optional uint64 psc_connection_id = 292082397;

Returns
Type Description
long

The pscConnectionId.

getStatus()

public String getStatus()

The status of a connected endpoint to this service attachment. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
Type Description
String

The status.

getStatusBytes()

public ByteString getStatusBytes()

The status of a connected endpoint to this service attachment. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
Type Description
ByteString

The bytes for status.

hasConsumerNetwork()

public boolean hasConsumerNetwork()

The url of the consumer network.

optional string consumer_network = 254357221;

Returns
Type Description
boolean

Whether the consumerNetwork field is set.

hasEndpoint()

public boolean hasEndpoint()

The url of a connected endpoint.

optional string endpoint = 130489749;

Returns
Type Description
boolean

Whether the endpoint field is set.

hasPscConnectionId()

public boolean hasPscConnectionId()

The PSC connection id of the connected endpoint.

optional uint64 psc_connection_id = 292082397;

Returns
Type Description
boolean

Whether the pscConnectionId field is set.

hasStatus()

public boolean hasStatus()

The status of a connected endpoint to this service attachment. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
Type Description
boolean

Whether the status field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ServiceAttachmentConnectedEndpoint other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConsumerNetwork(String value)

public ServiceAttachmentConnectedEndpoint.Builder setConsumerNetwork(String value)

The url of the consumer network.

optional string consumer_network = 254357221;

Parameter
Name Description
value String

The consumerNetwork to set.

Returns
Type Description
ServiceAttachmentConnectedEndpoint.Builder

This builder for chaining.

setConsumerNetworkBytes(ByteString value)

public ServiceAttachmentConnectedEndpoint.Builder setConsumerNetworkBytes(ByteString value)

The url of the consumer network.

optional string consumer_network = 254357221;

Parameter
Name Description
value ByteString

The bytes for consumerNetwork to set.

Returns
Type Description
ServiceAttachmentConnectedEndpoint.Builder

This builder for chaining.

setEndpoint(String value)

public ServiceAttachmentConnectedEndpoint.Builder setEndpoint(String value)

The url of a connected endpoint.

optional string endpoint = 130489749;

Parameter
Name Description
value String

The endpoint to set.

Returns
Type Description
ServiceAttachmentConnectedEndpoint.Builder

This builder for chaining.

setEndpointBytes(ByteString value)

public ServiceAttachmentConnectedEndpoint.Builder setEndpointBytes(ByteString value)

The url of a connected endpoint.

optional string endpoint = 130489749;

Parameter
Name Description
value ByteString

The bytes for endpoint to set.

Returns
Type Description
ServiceAttachmentConnectedEndpoint.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setPscConnectionId(long value)

public ServiceAttachmentConnectedEndpoint.Builder setPscConnectionId(long value)

The PSC connection id of the connected endpoint.

optional uint64 psc_connection_id = 292082397;

Parameter
Name Description
value long

The pscConnectionId to set.

Returns
Type Description
ServiceAttachmentConnectedEndpoint.Builder

This builder for chaining.

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

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

setStatus(String value)

public ServiceAttachmentConnectedEndpoint.Builder setStatus(String value)

The status of a connected endpoint to this service attachment. Check the Status enum for the list of possible values.

optional string status = 181260274;

Parameter
Name Description
value String

The status to set.

Returns
Type Description
ServiceAttachmentConnectedEndpoint.Builder

This builder for chaining.

setStatusBytes(ByteString value)

public ServiceAttachmentConnectedEndpoint.Builder setStatusBytes(ByteString value)

The status of a connected endpoint to this service attachment. Check the Status enum for the list of possible values.

optional string status = 181260274;

Parameter
Name Description
value ByteString

The bytes for status to set.

Returns
Type Description
ServiceAttachmentConnectedEndpoint.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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