Package com.google.cloud.compute.v1
Class NetworkAttachmentConnectedEndpoint
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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
@Generated
public final class NetworkAttachmentConnectedEndpoint
extends com.google.protobuf.GeneratedMessage
implements NetworkAttachmentConnectedEndpointOrBuilder
[Output Only] A connection connected to this network attachment.Protobuf type
google.cloud.compute.v1.NetworkAttachmentConnectedEndpoint- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class[Output Only] A connection connected to this network attachment.static enumThe status of a connected endpoint to this network attachment.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic final com.google.protobuf.Descriptors.DescriptorThe IPv4 address assigned to the producer instance network interface.com.google.protobuf.ByteStringThe IPv4 address assigned to the producer instance network interface.The IPv6 address assigned to the producer instance network interface.com.google.protobuf.ByteStringThe IPv6 address assigned to the producer instance network interface.com.google.protobuf.Parser<NetworkAttachmentConnectedEndpoint>The project id or number of the interface to which the IP was assigned.com.google.protobuf.ByteStringThe project id or number of the interface to which the IP was assigned.getSecondaryIpCidrRanges(int index) Alias IP ranges from the same subnetwork.com.google.protobuf.ByteStringgetSecondaryIpCidrRangesBytes(int index) Alias IP ranges from the same subnetwork.intAlias IP ranges from the same subnetwork.com.google.protobuf.ProtocolStringListAlias IP ranges from the same subnetwork.intThe service class id of the producer service to which the IP was assigned.com.google.protobuf.ByteStringThe service class id of the producer service to which the IP was assigned.The status of a connected endpoint to this network attachment.com.google.protobuf.ByteStringThe status of a connected endpoint to this network attachment.The subnetwork used to assign the IP to the producer instance network interface.com.google.protobuf.ByteStringThe subnetwork used to assign the IP to the producer instance network interface.Output only.com.google.protobuf.ByteStringOutput only.inthashCode()booleanThe IPv4 address assigned to the producer instance network interface.booleanThe IPv6 address assigned to the producer instance network interface.booleanThe project id or number of the interface to which the IP was assigned.booleanThe service class id of the producer service to which the IP was assigned.booleanThe status of a connected endpoint to this network attachment.booleanThe subnetwork used to assign the IP to the producer instance network interface.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(NetworkAttachmentConnectedEndpoint prototype) newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<NetworkAttachmentConnectedEndpoint>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
IP_ADDRESS_FIELD_NUMBER
public static final int IP_ADDRESS_FIELD_NUMBER- See Also:
-
IPV6_ADDRESS_FIELD_NUMBER
public static final int IPV6_ADDRESS_FIELD_NUMBER- See Also:
-
PROJECT_ID_OR_NUM_FIELD_NUMBER
public static final int PROJECT_ID_OR_NUM_FIELD_NUMBER- See Also:
-
SECONDARY_IP_CIDR_RANGES_FIELD_NUMBER
public static final int SECONDARY_IP_CIDR_RANGES_FIELD_NUMBER- See Also:
-
SERVICE_CLASS_ID_FIELD_NUMBER
public static final int SERVICE_CLASS_ID_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
SUBNETWORK_FIELD_NUMBER
public static final int SUBNETWORK_FIELD_NUMBER- See Also:
-
SUBNETWORK_CIDR_RANGE_FIELD_NUMBER
public static final int SUBNETWORK_CIDR_RANGE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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
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.
-
hasIpv6Address
public boolean hasIpv6Address()The IPv6 address assigned to the producer instance network interface. This is only assigned when the stack types of both the instance network interface and the consumer subnet are IPv4_IPv6.
optional string ipv6_address = 341563804;- Specified by:
hasIpv6Addressin interfaceNetworkAttachmentConnectedEndpointOrBuilder- Returns:
- Whether the ipv6Address field is set.
-
getIpv6Address
The IPv6 address assigned to the producer instance network interface. This is only assigned when the stack types of both the instance network interface and the consumer subnet are IPv4_IPv6.
optional string ipv6_address = 341563804;- Specified by:
getIpv6Addressin interfaceNetworkAttachmentConnectedEndpointOrBuilder- Returns:
- The ipv6Address.
-
getIpv6AddressBytes
public com.google.protobuf.ByteString getIpv6AddressBytes()The IPv6 address assigned to the producer instance network interface. This is only assigned when the stack types of both the instance network interface and the consumer subnet are IPv4_IPv6.
optional string ipv6_address = 341563804;- Specified by:
getIpv6AddressBytesin interfaceNetworkAttachmentConnectedEndpointOrBuilder- Returns:
- The bytes for ipv6Address.
-
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
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
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.
-
hasServiceClassId
public boolean hasServiceClassId()The service class id of the producer service to which the IP was assigned.
optional string service_class_id = 422763404;- Specified by:
hasServiceClassIdin interfaceNetworkAttachmentConnectedEndpointOrBuilder- Returns:
- Whether the serviceClassId field is set.
-
getServiceClassId
The service class id of the producer service to which the IP was assigned.
optional string service_class_id = 422763404;- Specified by:
getServiceClassIdin interfaceNetworkAttachmentConnectedEndpointOrBuilder- Returns:
- The serviceClassId.
-
getServiceClassIdBytes
public com.google.protobuf.ByteString getServiceClassIdBytes()The service class id of the producer service to which the IP was assigned.
optional string service_class_id = 422763404;- Specified by:
getServiceClassIdBytesin interfaceNetworkAttachmentConnectedEndpointOrBuilder- Returns:
- The bytes for serviceClassId.
-
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
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
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.
-
hasSubnetworkCidrRange
public boolean hasSubnetworkCidrRange()Output only. [Output Only] The CIDR range of the subnet from which the IPv4 internal IP was allocated from.
optional string subnetwork_cidr_range = 383249827;- Specified by:
hasSubnetworkCidrRangein interfaceNetworkAttachmentConnectedEndpointOrBuilder- Returns:
- Whether the subnetworkCidrRange field is set.
-
getSubnetworkCidrRange
Output only. [Output Only] The CIDR range of the subnet from which the IPv4 internal IP was allocated from.
optional string subnetwork_cidr_range = 383249827;- Specified by:
getSubnetworkCidrRangein interfaceNetworkAttachmentConnectedEndpointOrBuilder- Returns:
- The subnetworkCidrRange.
-
getSubnetworkCidrRangeBytes
public com.google.protobuf.ByteString getSubnetworkCidrRangeBytes()Output only. [Output Only] The CIDR range of the subnet from which the IPv4 internal IP was allocated from.
optional string subnetwork_cidr_range = 383249827;- Specified by:
getSubnetworkCidrRangeBytesin interfaceNetworkAttachmentConnectedEndpointOrBuilder- Returns:
- The bytes for subnetworkCidrRange.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static NetworkAttachmentConnectedEndpoint.Builder newBuilder(NetworkAttachmentConnectedEndpoint prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NetworkAttachmentConnectedEndpoint.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-