Class ServiceAttachmentConnectedEndpoint (1.53.0)

public final class ServiceAttachmentConnectedEndpoint extends GeneratedMessageV3 implements ServiceAttachmentConnectedEndpointOrBuilder

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

Protobuf type google.cloud.compute.v1.ServiceAttachmentConnectedEndpoint

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ServiceAttachmentConnectedEndpoint

Static Fields

CONSUMER_NETWORK_FIELD_NUMBER

public static final int CONSUMER_NETWORK_FIELD_NUMBER
Field Value
Type Description
int

ENDPOINT_FIELD_NUMBER

public static final int ENDPOINT_FIELD_NUMBER
Field Value
Type Description
int

PSC_CONNECTION_ID_FIELD_NUMBER

public static final int PSC_CONNECTION_ID_FIELD_NUMBER
Field Value
Type Description
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ServiceAttachmentConnectedEndpoint getDefaultInstance()
Returns
Type Description
ServiceAttachmentConnectedEndpoint

getDescriptor()

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

newBuilder()

public static ServiceAttachmentConnectedEndpoint.Builder newBuilder()
Returns
Type Description
ServiceAttachmentConnectedEndpoint.Builder

newBuilder(ServiceAttachmentConnectedEndpoint prototype)

public static ServiceAttachmentConnectedEndpoint.Builder newBuilder(ServiceAttachmentConnectedEndpoint prototype)
Parameter
Name Description
prototype ServiceAttachmentConnectedEndpoint
Returns
Type Description
ServiceAttachmentConnectedEndpoint.Builder

parseDelimitedFrom(InputStream input)

public static ServiceAttachmentConnectedEndpoint parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ServiceAttachmentConnectedEndpoint
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceAttachmentConnectedEndpoint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServiceAttachmentConnectedEndpoint
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ServiceAttachmentConnectedEndpoint parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ServiceAttachmentConnectedEndpoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ServiceAttachmentConnectedEndpoint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServiceAttachmentConnectedEndpoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ServiceAttachmentConnectedEndpoint parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ServiceAttachmentConnectedEndpoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ServiceAttachmentConnectedEndpoint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServiceAttachmentConnectedEndpoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ServiceAttachmentConnectedEndpoint parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ServiceAttachmentConnectedEndpoint
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceAttachmentConnectedEndpoint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServiceAttachmentConnectedEndpoint
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ServiceAttachmentConnectedEndpoint parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ServiceAttachmentConnectedEndpoint
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceAttachmentConnectedEndpoint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServiceAttachmentConnectedEndpoint
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ServiceAttachmentConnectedEndpoint parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ServiceAttachmentConnectedEndpoint
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ServiceAttachmentConnectedEndpoint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ServiceAttachmentConnectedEndpoint
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ServiceAttachmentConnectedEndpoint> parser()
Returns
Type Description
Parser<ServiceAttachmentConnectedEndpoint>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

getParserForType()

public Parser<ServiceAttachmentConnectedEndpoint> getParserForType()
Returns
Type Description
Parser<ServiceAttachmentConnectedEndpoint>
Overrides

getPscConnectionId()

public long getPscConnectionId()

The PSC connection id of the connected endpoint.

optional uint64 psc_connection_id = 292082397;

Returns
Type Description
long

The pscConnectionId.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ServiceAttachmentConnectedEndpoint.Builder newBuilderForType()
Returns
Type Description
ServiceAttachmentConnectedEndpoint.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ServiceAttachmentConnectedEndpoint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ServiceAttachmentConnectedEndpoint.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ServiceAttachmentConnectedEndpoint.Builder toBuilder()
Returns
Type Description
ServiceAttachmentConnectedEndpoint.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException