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 class
NetworkAttachmentConnectedEndpoint.Builder
[Output Only] A connection connected to this network attachment.static class
NetworkAttachmentConnectedEndpoint.Status
The 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 int
IP_ADDRESS_FIELD_NUMBER
static int
PROJECT_ID_OR_NUM_FIELD_NUMBER
static int
SECONDARY_IP_CIDR_RANGES_FIELD_NUMBER
static int
STATUS_FIELD_NUMBER
static int
SUBNETWORK_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static NetworkAttachmentConnectedEndpoint
getDefaultInstance()
NetworkAttachmentConnectedEndpoint
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getIpAddress()
The IPv4 address assigned to the producer instance network interface.com.google.protobuf.ByteString
getIpAddressBytes()
The IPv4 address assigned to the producer instance network interface.com.google.protobuf.Parser<NetworkAttachmentConnectedEndpoint>
getParserForType()
String
getProjectIdOrNum()
The project id or number of the interface to which the IP was assigned.com.google.protobuf.ByteString
getProjectIdOrNumBytes()
The project id or number of the interface to which the IP was assigned.String
getSecondaryIpCidrRanges(int index)
Alias IP ranges from the same subnetwork.com.google.protobuf.ByteString
getSecondaryIpCidrRangesBytes(int index)
Alias IP ranges from the same subnetwork.int
getSecondaryIpCidrRangesCount()
Alias IP ranges from the same subnetwork.com.google.protobuf.ProtocolStringList
getSecondaryIpCidrRangesList()
Alias IP ranges from the same subnetwork.int
getSerializedSize()
String
getStatus()
The status of a connected endpoint to this network attachment.com.google.protobuf.ByteString
getStatusBytes()
The status of a connected endpoint to this network attachment.String
getSubnetwork()
The subnetwork used to assign the IP to the producer instance network interface.com.google.protobuf.ByteString
getSubnetworkBytes()
The subnetwork used to assign the IP to the producer instance network interface.int
hashCode()
boolean
hasIpAddress()
The IPv4 address assigned to the producer instance network interface.boolean
hasProjectIdOrNum()
The project id or number of the interface to which the IP was assigned.boolean
hasStatus()
The status of a connected endpoint to this network attachment.boolean
hasSubnetwork()
The subnetwork used to assign the IP to the producer instance network interface.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static NetworkAttachmentConnectedEndpoint.Builder
newBuilder()
static NetworkAttachmentConnectedEndpoint.Builder
newBuilder(NetworkAttachmentConnectedEndpoint prototype)
NetworkAttachmentConnectedEndpoint.Builder
newBuilderForType()
protected NetworkAttachmentConnectedEndpoint.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static NetworkAttachmentConnectedEndpoint
parseDelimitedFrom(InputStream input)
static NetworkAttachmentConnectedEndpoint
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NetworkAttachmentConnectedEndpoint
parseFrom(byte[] data)
static NetworkAttachmentConnectedEndpoint
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NetworkAttachmentConnectedEndpoint
parseFrom(com.google.protobuf.ByteString data)
static NetworkAttachmentConnectedEndpoint
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NetworkAttachmentConnectedEndpoint
parseFrom(com.google.protobuf.CodedInputStream input)
static NetworkAttachmentConnectedEndpoint
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NetworkAttachmentConnectedEndpoint
parseFrom(InputStream input)
static NetworkAttachmentConnectedEndpoint
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NetworkAttachmentConnectedEndpoint
parseFrom(ByteBuffer data)
static NetworkAttachmentConnectedEndpoint
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<NetworkAttachmentConnectedEndpoint>
parser()
NetworkAttachmentConnectedEndpoint.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
hasIpAddress
in 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:
getIpAddress
in 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:
getIpAddressBytes
in 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:
hasProjectIdOrNum
in 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:
getProjectIdOrNum
in 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:
getProjectIdOrNumBytes
in 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:
getSecondaryIpCidrRangesList
in 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:
getSecondaryIpCidrRangesCount
in 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:
getSecondaryIpCidrRanges
in 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:
getSecondaryIpCidrRangesBytes
in 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:
hasStatus
in 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:
getStatus
in 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:
getStatusBytes
in 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:
hasSubnetwork
in 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:
getSubnetwork
in 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:
getSubnetworkBytes
in interfaceNetworkAttachmentConnectedEndpointOrBuilder
- Returns:
- The bytes for subnetwork.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NetworkAttachmentConnectedEndpoint.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public NetworkAttachmentConnectedEndpoint getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-