Class NetworkAttachmentConnectedEndpoint (1.21.0)

public final class NetworkAttachmentConnectedEndpoint extends GeneratedMessageV3 implements NetworkAttachmentConnectedEndpointOrBuilder

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

Protobuf type google.cloud.compute.v1.NetworkAttachmentConnectedEndpoint

Inheritance

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

Static Fields

IP_ADDRESS_FIELD_NUMBER

public static final int IP_ADDRESS_FIELD_NUMBER
Field Value
TypeDescription
int

PROJECT_ID_OR_NUM_FIELD_NUMBER

public static final int PROJECT_ID_OR_NUM_FIELD_NUMBER
Field Value
TypeDescription
int

SECONDARY_IP_CIDR_RANGES_FIELD_NUMBER

public static final int SECONDARY_IP_CIDR_RANGES_FIELD_NUMBER
Field Value
TypeDescription
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

SUBNETWORK_FIELD_NUMBER

public static final int SUBNETWORK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NetworkAttachmentConnectedEndpoint getDefaultInstance()
Returns
TypeDescription
NetworkAttachmentConnectedEndpoint

getDescriptor()

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

newBuilder()

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

newBuilder(NetworkAttachmentConnectedEndpoint prototype)

public static NetworkAttachmentConnectedEndpoint.Builder newBuilder(NetworkAttachmentConnectedEndpoint prototype)
Parameter
NameDescription
prototypeNetworkAttachmentConnectedEndpoint
Returns
TypeDescription
NetworkAttachmentConnectedEndpoint.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public NetworkAttachmentConnectedEndpoint getDefaultInstanceForType()
Returns
TypeDescription
NetworkAttachmentConnectedEndpoint

getIpAddress()

public String getIpAddress()

The IP address assigned to the producer instance network interface. This value will be a range in case of Serverless.

optional string ip_address = 406272220;

Returns
TypeDescription
String

The ipAddress.

getIpAddressBytes()

public ByteString getIpAddressBytes()

The IP address assigned to the producer instance network interface. This value will be a range in case of Serverless.

optional string ip_address = 406272220;

Returns
TypeDescription
ByteString

The bytes for ipAddress.

getParserForType()

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

getProjectIdOrNum()

public String getProjectIdOrNum()

The project id or number of the interface to which the IP was assigned.

optional string project_id_or_num = 349783336;

Returns
TypeDescription
String

The projectIdOrNum.

getProjectIdOrNumBytes()

public ByteString getProjectIdOrNumBytes()

The project id or number of the interface to which the IP was assigned.

optional string project_id_or_num = 349783336;

Returns
TypeDescription
ByteString

The bytes for projectIdOrNum.

getSecondaryIpCidrRanges(int index)

public String getSecondaryIpCidrRanges(int index)

Alias IP ranges from the same subnetwork

repeated string secondary_ip_cidr_ranges = 117184788;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The secondaryIpCidrRanges at the given index.

getSecondaryIpCidrRangesBytes(int index)

public ByteString getSecondaryIpCidrRangesBytes(int index)

Alias IP ranges from the same subnetwork

repeated string secondary_ip_cidr_ranges = 117184788;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the secondaryIpCidrRanges at the given index.

getSecondaryIpCidrRangesCount()

public int getSecondaryIpCidrRangesCount()

Alias IP ranges from the same subnetwork

repeated string secondary_ip_cidr_ranges = 117184788;

Returns
TypeDescription
int

The count of secondaryIpCidrRanges.

getSecondaryIpCidrRangesList()

public ProtocolStringList getSecondaryIpCidrRangesList()

Alias IP ranges from the same subnetwork

repeated string secondary_ip_cidr_ranges = 117184788;

Returns
TypeDescription
ProtocolStringList

A list containing the secondaryIpCidrRanges.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStatus()

public String getStatus()

The status of a connected endpoint to this network 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 network attachment. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
ByteString

The bytes for status.

getSubnetwork()

public String getSubnetwork()

The subnetwork used to assign the IP to the producer instance network interface.

optional string subnetwork = 307827694;

Returns
TypeDescription
String

The subnetwork.

getSubnetworkBytes()

public ByteString getSubnetworkBytes()

The subnetwork used to assign the IP to the producer instance network interface.

optional string subnetwork = 307827694;

Returns
TypeDescription
ByteString

The bytes for subnetwork.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasIpAddress()

public boolean hasIpAddress()

The IP address assigned to the producer instance network interface. This value will be a range in case of Serverless.

optional string ip_address = 406272220;

Returns
TypeDescription
boolean

Whether the ipAddress field is set.

hasProjectIdOrNum()

public boolean hasProjectIdOrNum()

The project id or number of the interface to which the IP was assigned.

optional string project_id_or_num = 349783336;

Returns
TypeDescription
boolean

Whether the projectIdOrNum field is set.

hasStatus()

public boolean hasStatus()

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

optional string status = 181260274;

Returns
TypeDescription
boolean

Whether the status field is set.

hasSubnetwork()

public boolean hasSubnetwork()

The subnetwork used to assign the IP to the producer instance network interface.

optional string subnetwork = 307827694;

Returns
TypeDescription
boolean

Whether the subnetwork 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 NetworkAttachmentConnectedEndpoint.Builder newBuilderForType()
Returns
TypeDescription
NetworkAttachmentConnectedEndpoint.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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