Package com.google.cloud.compute.v1
Class NetworkAttachmentConnectedEndpoint
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.NetworkAttachmentConnectedEndpoint
-
- All Implemented Interfaces:
NetworkAttachmentConnectedEndpointOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class NetworkAttachmentConnectedEndpoint extends com.google.protobuf.GeneratedMessageV3 implements NetworkAttachmentConnectedEndpointOrBuilder
[Output Only] A connection connected to this network attachment.
Protobuf typegoogle.cloud.compute.v1.NetworkAttachmentConnectedEndpoint- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNetworkAttachmentConnectedEndpoint.Builder[Output Only] A connection connected to this network attachment.static classNetworkAttachmentConnectedEndpoint.StatusThe status of a connected endpoint to this network attachment.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intIP_ADDRESS_FIELD_NUMBERstatic intPROJECT_ID_OR_NUM_FIELD_NUMBERstatic intSECONDARY_IP_CIDR_RANGES_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBERstatic intSUBNETWORK_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static NetworkAttachmentConnectedEndpointgetDefaultInstance()NetworkAttachmentConnectedEndpointgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetIpAddress()The IPv4 address assigned to the producer instance network interface.com.google.protobuf.ByteStringgetIpAddressBytes()The IPv4 address assigned to the producer instance network interface.com.google.protobuf.Parser<NetworkAttachmentConnectedEndpoint>getParserForType()StringgetProjectIdOrNum()The project id or number of the interface to which the IP was assigned.com.google.protobuf.ByteStringgetProjectIdOrNumBytes()The project id or number of the interface to which the IP was assigned.StringgetSecondaryIpCidrRanges(int index)Alias IP ranges from the same subnetwork.com.google.protobuf.ByteStringgetSecondaryIpCidrRangesBytes(int index)Alias IP ranges from the same subnetwork.intgetSecondaryIpCidrRangesCount()Alias IP ranges from the same subnetwork.com.google.protobuf.ProtocolStringListgetSecondaryIpCidrRangesList()Alias IP ranges from the same subnetwork.intgetSerializedSize()StringgetStatus()The status of a connected endpoint to this network attachment.com.google.protobuf.ByteStringgetStatusBytes()The status of a connected endpoint to this network attachment.StringgetSubnetwork()The subnetwork used to assign the IP to the producer instance network interface.com.google.protobuf.ByteStringgetSubnetworkBytes()The subnetwork used to assign the IP to the producer instance network interface.inthashCode()booleanhasIpAddress()The IPv4 address assigned to the producer instance network interface.booleanhasProjectIdOrNum()The project id or number of the interface to which the IP was assigned.booleanhasStatus()The status of a connected endpoint to this network attachment.booleanhasSubnetwork()The subnetwork used to assign the IP to the producer instance network interface.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static NetworkAttachmentConnectedEndpoint.BuildernewBuilder()static NetworkAttachmentConnectedEndpoint.BuildernewBuilder(NetworkAttachmentConnectedEndpoint prototype)NetworkAttachmentConnectedEndpoint.BuildernewBuilderForType()protected NetworkAttachmentConnectedEndpoint.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static NetworkAttachmentConnectedEndpointparseDelimitedFrom(InputStream input)static NetworkAttachmentConnectedEndpointparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkAttachmentConnectedEndpointparseFrom(byte[] data)static NetworkAttachmentConnectedEndpointparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkAttachmentConnectedEndpointparseFrom(com.google.protobuf.ByteString data)static NetworkAttachmentConnectedEndpointparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkAttachmentConnectedEndpointparseFrom(com.google.protobuf.CodedInputStream input)static NetworkAttachmentConnectedEndpointparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkAttachmentConnectedEndpointparseFrom(InputStream input)static NetworkAttachmentConnectedEndpointparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NetworkAttachmentConnectedEndpointparseFrom(ByteBuffer data)static NetworkAttachmentConnectedEndpointparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<NetworkAttachmentConnectedEndpoint>parser()NetworkAttachmentConnectedEndpoint.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
IP_ADDRESS_FIELD_NUMBER
public static final int IP_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROJECT_ID_OR_NUM_FIELD_NUMBER
public static final int PROJECT_ID_OR_NUM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECONDARY_IP_CIDR_RANGES_FIELD_NUMBER
public static final int SECONDARY_IP_CIDR_RANGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUBNETWORK_FIELD_NUMBER
public static final int SUBNETWORK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasIpAddress
public boolean hasIpAddress()
The IPv4 address assigned to the producer instance network interface. This value will be a range in case of Serverless.
optional string ip_address = 406272220;- Specified by:
hasIpAddressin interfaceNetworkAttachmentConnectedEndpointOrBuilder- Returns:
- Whether the ipAddress field is set.
-
getIpAddress
public String getIpAddress()
The IPv4 address assigned to the producer instance network interface. This value will be a range in case of Serverless.
optional string ip_address = 406272220;- Specified by:
getIpAddressin interfaceNetworkAttachmentConnectedEndpointOrBuilder- Returns:
- The ipAddress.
-
getIpAddressBytes
public com.google.protobuf.ByteString getIpAddressBytes()
The IPv4 address assigned to the producer instance network interface. This value will be a range in case of Serverless.
optional string ip_address = 406272220;- Specified by:
getIpAddressBytesin interfaceNetworkAttachmentConnectedEndpointOrBuilder- Returns:
- The bytes for ipAddress.
-
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;- Specified by:
hasProjectIdOrNumin interfaceNetworkAttachmentConnectedEndpointOrBuilder- Returns:
- Whether the projectIdOrNum field is set.
-
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;- Specified by:
getProjectIdOrNumin interfaceNetworkAttachmentConnectedEndpointOrBuilder- Returns:
- The projectIdOrNum.
-
getProjectIdOrNumBytes
public com.google.protobuf.ByteString getProjectIdOrNumBytes()
The project id or number of the interface to which the IP was assigned.
optional string project_id_or_num = 349783336;- Specified by:
getProjectIdOrNumBytesin interfaceNetworkAttachmentConnectedEndpointOrBuilder- Returns:
- The bytes for projectIdOrNum.
-
getSecondaryIpCidrRangesList
public com.google.protobuf.ProtocolStringList getSecondaryIpCidrRangesList()
Alias IP ranges from the same subnetwork.
repeated string secondary_ip_cidr_ranges = 117184788;- Specified by:
getSecondaryIpCidrRangesListin interfaceNetworkAttachmentConnectedEndpointOrBuilder- Returns:
- A list containing the secondaryIpCidrRanges.
-
getSecondaryIpCidrRangesCount
public int getSecondaryIpCidrRangesCount()
Alias IP ranges from the same subnetwork.
repeated string secondary_ip_cidr_ranges = 117184788;- Specified by:
getSecondaryIpCidrRangesCountin interfaceNetworkAttachmentConnectedEndpointOrBuilder- Returns:
- The count of secondaryIpCidrRanges.
-
getSecondaryIpCidrRanges
public String getSecondaryIpCidrRanges(int index)
Alias IP ranges from the same subnetwork.
repeated string secondary_ip_cidr_ranges = 117184788;- Specified by:
getSecondaryIpCidrRangesin interfaceNetworkAttachmentConnectedEndpointOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The secondaryIpCidrRanges at the given index.
-
getSecondaryIpCidrRangesBytes
public com.google.protobuf.ByteString getSecondaryIpCidrRangesBytes(int index)
Alias IP ranges from the same subnetwork.
repeated string secondary_ip_cidr_ranges = 117184788;- Specified by:
getSecondaryIpCidrRangesBytesin interfaceNetworkAttachmentConnectedEndpointOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the secondaryIpCidrRanges at the given index.
-
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;- Specified by:
hasStatusin interfaceNetworkAttachmentConnectedEndpointOrBuilder- Returns:
- Whether the status field is set.
-
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;- Specified by:
getStatusin interfaceNetworkAttachmentConnectedEndpointOrBuilder- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.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;- Specified by:
getStatusBytesin interfaceNetworkAttachmentConnectedEndpointOrBuilder- Returns:
- The bytes for status.
-
hasSubnetwork
public boolean hasSubnetwork()
The subnetwork used to assign the IP to the producer instance network interface.
optional string subnetwork = 307827694;- Specified by:
hasSubnetworkin interfaceNetworkAttachmentConnectedEndpointOrBuilder- Returns:
- Whether the subnetwork field is set.
-
getSubnetwork
public String getSubnetwork()
The subnetwork used to assign the IP to the producer instance network interface.
optional string subnetwork = 307827694;- Specified by:
getSubnetworkin interfaceNetworkAttachmentConnectedEndpointOrBuilder- Returns:
- The subnetwork.
-
getSubnetworkBytes
public com.google.protobuf.ByteString getSubnetworkBytes()
The subnetwork used to assign the IP to the producer instance network interface.
optional string subnetwork = 307827694;- Specified by:
getSubnetworkBytesin interfaceNetworkAttachmentConnectedEndpointOrBuilder- Returns:
- The bytes for subnetwork.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static NetworkAttachmentConnectedEndpoint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkAttachmentConnectedEndpoint parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkAttachmentConnectedEndpoint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkAttachmentConnectedEndpoint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkAttachmentConnectedEndpoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkAttachmentConnectedEndpoint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NetworkAttachmentConnectedEndpoint parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NetworkAttachmentConnectedEndpoint parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NetworkAttachmentConnectedEndpoint parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NetworkAttachmentConnectedEndpoint parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static NetworkAttachmentConnectedEndpoint parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NetworkAttachmentConnectedEndpoint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public NetworkAttachmentConnectedEndpoint.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static NetworkAttachmentConnectedEndpoint.Builder newBuilder()
-
newBuilder
public static NetworkAttachmentConnectedEndpoint.Builder newBuilder(NetworkAttachmentConnectedEndpoint prototype)
-
toBuilder
public NetworkAttachmentConnectedEndpoint.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NetworkAttachmentConnectedEndpoint.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static NetworkAttachmentConnectedEndpoint getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<NetworkAttachmentConnectedEndpoint> parser()
-
getParserForType
public com.google.protobuf.Parser<NetworkAttachmentConnectedEndpoint> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public NetworkAttachmentConnectedEndpoint getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-