public final class NetworkAttachmentConnectedEndpoint extends GeneratedMessageV3 implements NetworkAttachmentConnectedEndpointOrBuilder
[Output Only] A connection connected to this network attachment.
Protobuf type google.cloud.compute.v1.NetworkAttachmentConnectedEndpoint
Static Fields
IP_ADDRESS_FIELD_NUMBER
public static final int IP_ADDRESS_FIELD_NUMBER
Field Value
PROJECT_ID_OR_NUM_FIELD_NUMBER
public static final int PROJECT_ID_OR_NUM_FIELD_NUMBER
Field Value
SECONDARY_IP_CIDR_RANGES_FIELD_NUMBER
public static final int SECONDARY_IP_CIDR_RANGES_FIELD_NUMBER
Field Value
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
Field Value
SUBNETWORK_FIELD_NUMBER
public static final int SUBNETWORK_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static NetworkAttachmentConnectedEndpoint getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static NetworkAttachmentConnectedEndpoint.Builder newBuilder()
Returns
newBuilder(NetworkAttachmentConnectedEndpoint prototype)
public static NetworkAttachmentConnectedEndpoint.Builder newBuilder(NetworkAttachmentConnectedEndpoint prototype)
Parameter
Returns
public static NetworkAttachmentConnectedEndpoint parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static NetworkAttachmentConnectedEndpoint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static NetworkAttachmentConnectedEndpoint parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NetworkAttachmentConnectedEndpoint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static NetworkAttachmentConnectedEndpoint parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NetworkAttachmentConnectedEndpoint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NetworkAttachmentConnectedEndpoint parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static NetworkAttachmentConnectedEndpoint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static NetworkAttachmentConnectedEndpoint parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static NetworkAttachmentConnectedEndpoint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static NetworkAttachmentConnectedEndpoint parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NetworkAttachmentConnectedEndpoint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<NetworkAttachmentConnectedEndpoint> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public NetworkAttachmentConnectedEndpoint getDefaultInstanceForType()
Returns
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
Type | Description |
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
getParserForType()
public Parser<NetworkAttachmentConnectedEndpoint> getParserForType()
Returns
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;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
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
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
Type | Description |
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
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public NetworkAttachmentConnectedEndpoint.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NetworkAttachmentConnectedEndpoint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public NetworkAttachmentConnectedEndpoint.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions