Class ServiceAttachmentConnectedEndpoint (1.12.1)

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

ENDPOINT_FIELD_NUMBER

public static final int ENDPOINT_FIELD_NUMBER
Field Value
TypeDescription
int

PSC_CONNECTION_ID_FIELD_NUMBER

public static final int PSC_CONNECTION_ID_FIELD_NUMBER
Field Value
TypeDescription
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ServiceAttachmentConnectedEndpoint getDefaultInstance()
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint

getDescriptor()

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

newBuilder()

public static ServiceAttachmentConnectedEndpoint.Builder newBuilder()
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint.Builder

newBuilder(ServiceAttachmentConnectedEndpoint prototype)

public static ServiceAttachmentConnectedEndpoint.Builder newBuilder(ServiceAttachmentConnectedEndpoint prototype)
Parameter
NameDescription
prototypeServiceAttachmentConnectedEndpoint
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint.Builder

parseDelimitedFrom(InputStream input)

public static ServiceAttachmentConnectedEndpoint parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceAttachmentConnectedEndpoint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ServiceAttachmentConnectedEndpoint parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ServiceAttachmentConnectedEndpoint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ServiceAttachmentConnectedEndpoint parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ServiceAttachmentConnectedEndpoint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ServiceAttachmentConnectedEndpoint parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceAttachmentConnectedEndpoint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ServiceAttachmentConnectedEndpoint parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ServiceAttachmentConnectedEndpoint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ServiceAttachmentConnectedEndpoint parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ServiceAttachmentConnectedEndpoint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ServiceAttachmentConnectedEndpoint> parser()
Returns
TypeDescription
Parser<ServiceAttachmentConnectedEndpoint>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ServiceAttachmentConnectedEndpoint getDefaultInstanceForType()
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint

getEndpoint()

public String getEndpoint()

The url of a connected endpoint.

optional string endpoint = 130489749;

Returns
TypeDescription
String

The endpoint.

getEndpointBytes()

public ByteString getEndpointBytes()

The url of a connected endpoint.

optional string endpoint = 130489749;

Returns
TypeDescription
ByteString

The bytes for endpoint.

getParserForType()

public Parser<ServiceAttachmentConnectedEndpoint> getParserForType()
Returns
TypeDescription
Parser<ServiceAttachmentConnectedEndpoint>
Overrides

getPscConnectionId()

public long getPscConnectionId()

The PSC connection id of the connected endpoint.

optional uint64 psc_connection_id = 292082397;

Returns
TypeDescription
long

The pscConnectionId.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for status.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasEndpoint()

public boolean hasEndpoint()

The url of a connected endpoint.

optional string endpoint = 130489749;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the status field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ServiceAttachmentConnectedEndpoint.Builder newBuilderForType()
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ServiceAttachmentConnectedEndpoint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ServiceAttachmentConnectedEndpoint.Builder toBuilder()
Returns
TypeDescription
ServiceAttachmentConnectedEndpoint.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException