public final class NetworkAttachmentConnectedEndpoint extends GeneratedMessageV3 implements NetworkAttachmentConnectedEndpointOrBuilder
[Output Only] A connection connected to this network attachment.
Protobuf type google.cloud.compute.v1.NetworkAttachmentConnectedEndpoint
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
IPV6_ADDRESS_FIELD_NUMBER
public static final int IPV6_ADDRESS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
IP_ADDRESS_FIELD_NUMBER
public static final int IP_ADDRESS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PROJECT_ID_OR_NUM_FIELD_NUMBER
public static final int PROJECT_ID_OR_NUM_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SECONDARY_IP_CIDR_RANGES_FIELD_NUMBER
public static final int SECONDARY_IP_CIDR_RANGES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SUBNETWORK_CIDR_RANGE_FIELD_NUMBER
public static final int SUBNETWORK_CIDR_RANGE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SUBNETWORK_FIELD_NUMBER
public static final int SUBNETWORK_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static NetworkAttachmentConnectedEndpoint getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static NetworkAttachmentConnectedEndpoint.Builder newBuilder()
newBuilder(NetworkAttachmentConnectedEndpoint prototype)
public static NetworkAttachmentConnectedEndpoint.Builder newBuilder(NetworkAttachmentConnectedEndpoint prototype)
public static NetworkAttachmentConnectedEndpoint parseDelimitedFrom(InputStream input)
public static NetworkAttachmentConnectedEndpoint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static NetworkAttachmentConnectedEndpoint parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NetworkAttachmentConnectedEndpoint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static NetworkAttachmentConnectedEndpoint parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NetworkAttachmentConnectedEndpoint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NetworkAttachmentConnectedEndpoint parseFrom(CodedInputStream input)
public static NetworkAttachmentConnectedEndpoint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static NetworkAttachmentConnectedEndpoint parseFrom(InputStream input)
public static NetworkAttachmentConnectedEndpoint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static NetworkAttachmentConnectedEndpoint parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NetworkAttachmentConnectedEndpoint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<NetworkAttachmentConnectedEndpoint> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public NetworkAttachmentConnectedEndpoint getDefaultInstanceForType()
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;
Returns |
---|
Type | Description |
String | The ipAddress.
|
getIpAddressBytes()
public 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;
Returns |
---|
Type | Description |
ByteString | The bytes for ipAddress.
|
getIpv6Address()
public String 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;
Returns |
---|
Type | Description |
String | The ipv6Address.
|
getIpv6AddressBytes()
public 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;
Returns |
---|
Type | Description |
ByteString | The bytes for ipv6Address.
|
getParserForType()
public Parser<NetworkAttachmentConnectedEndpoint> getParserForType()
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 |
---|
Type | Description |
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 |
---|
Type | Description |
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 |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
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 |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
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 |
---|
Type | Description |
int | The count of secondaryIpCidrRanges.
|
getSecondaryIpCidrRangesList()
public ProtocolStringList getSecondaryIpCidrRangesList()
Alias IP ranges from the same subnetwork.
repeated string secondary_ip_cidr_ranges = 117184788;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
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 |
---|
Type | Description |
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 |
---|
Type | Description |
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 |
---|
Type | Description |
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 |
---|
Type | Description |
ByteString | The bytes for subnetwork.
|
getSubnetworkCidrRange()
public String getSubnetworkCidrRange()
[Output Only] The CIDR range of the subnet from which the IPv4 internal IP was allocated from.
optional string subnetwork_cidr_range = 383249827;
Returns |
---|
Type | Description |
String | The subnetworkCidrRange.
|
getSubnetworkCidrRangeBytes()
public ByteString getSubnetworkCidrRangeBytes()
[Output Only] The CIDR range of the subnet from which the IPv4 internal IP was allocated from.
optional string subnetwork_cidr_range = 383249827;
Returns |
---|
Type | Description |
ByteString | The bytes for subnetworkCidrRange.
|
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;
Returns |
---|
Type | Description |
boolean | Whether the ipAddress field is set.
|
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;
Returns |
---|
Type | Description |
boolean | Whether the ipv6Address 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 |
---|
Type | Description |
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 |
---|
Type | Description |
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 |
---|
Type | Description |
boolean | Whether the subnetwork field is set.
|
hasSubnetworkCidrRange()
public boolean hasSubnetworkCidrRange()
[Output Only] The CIDR range of the subnet from which the IPv4 internal IP was allocated from.
optional string subnetwork_cidr_range = 383249827;
Returns |
---|
Type | Description |
boolean | Whether the subnetworkCidrRange field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public NetworkAttachmentConnectedEndpoint.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NetworkAttachmentConnectedEndpoint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public NetworkAttachmentConnectedEndpoint.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides