Interface InstanceInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstanceInfo,InstanceInfo.Builder
@Generated
public interface InstanceInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionName of a Compute Engine instance.com.google.protobuf.ByteStringName of a Compute Engine instance.External IP address of the network interface.com.google.protobuf.ByteStringExternal IP address of the network interface.Name of the network interface of a Compute Engine instance.com.google.protobuf.ByteStringName of the network interface of a Compute Engine instance.Internal IP address of the network interface.com.google.protobuf.ByteStringInternal IP address of the network interface.getNetworkTags(int index) Network tags configured on the instance.com.google.protobuf.ByteStringgetNetworkTagsBytes(int index) Network tags configured on the instance.intNetwork tags configured on the instance.Network tags configured on the instance.URI of a Compute Engine network.com.google.protobuf.ByteStringURI of a Compute Engine network.URI of the PSC network attachment the NIC is attached to (if relevant).com.google.protobuf.ByteStringURI of the PSC network attachment the NIC is attached to (if relevant).booleanDeprecated.google.cloud.networkmanagement.v1beta1.InstanceInfo.running is deprecated.Deprecated.google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is deprecated.com.google.protobuf.ByteStringDeprecated.google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is deprecated.The status of the instance.intThe status of the instance.getUri()URI of a Compute Engine instance.com.google.protobuf.ByteStringURI of a Compute Engine instance.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDisplayName
String getDisplayName()Name of a Compute Engine instance.
string display_name = 1;- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Name of a Compute Engine instance.
string display_name = 1;- Returns:
- The bytes for displayName.
-
getUri
String getUri()URI of a Compute Engine instance.
string uri = 2;- Returns:
- The uri.
-
getUriBytes
com.google.protobuf.ByteString getUriBytes()URI of a Compute Engine instance.
string uri = 2;- Returns:
- The bytes for uri.
-
getInterface
String getInterface()Name of the network interface of a Compute Engine instance.
string interface = 3;- Returns:
- The interface.
-
getInterfaceBytes
com.google.protobuf.ByteString getInterfaceBytes()Name of the network interface of a Compute Engine instance.
string interface = 3;- Returns:
- The bytes for interface.
-
getNetworkUri
String getNetworkUri()URI of a Compute Engine network.
string network_uri = 4;- Returns:
- The networkUri.
-
getNetworkUriBytes
com.google.protobuf.ByteString getNetworkUriBytes()URI of a Compute Engine network.
string network_uri = 4;- Returns:
- The bytes for networkUri.
-
getInternalIp
String getInternalIp()Internal IP address of the network interface.
string internal_ip = 5;- Returns:
- The internalIp.
-
getInternalIpBytes
com.google.protobuf.ByteString getInternalIpBytes()Internal IP address of the network interface.
string internal_ip = 5;- Returns:
- The bytes for internalIp.
-
getExternalIp
String getExternalIp()External IP address of the network interface.
string external_ip = 6;- Returns:
- The externalIp.
-
getExternalIpBytes
com.google.protobuf.ByteString getExternalIpBytes()External IP address of the network interface.
string external_ip = 6;- Returns:
- The bytes for externalIp.
-
getNetworkTagsList
Network tags configured on the instance.
repeated string network_tags = 7;- Returns:
- A list containing the networkTags.
-
getNetworkTagsCount
int getNetworkTagsCount()Network tags configured on the instance.
repeated string network_tags = 7;- Returns:
- The count of networkTags.
-
getNetworkTags
Network tags configured on the instance.
repeated string network_tags = 7;- Parameters:
index- The index of the element to return.- Returns:
- The networkTags at the given index.
-
getNetworkTagsBytes
com.google.protobuf.ByteString getNetworkTagsBytes(int index) Network tags configured on the instance.
repeated string network_tags = 7;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the networkTags at the given index.
-
getServiceAccount
Deprecated.google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=413Service account authorized for the instance.
string service_account = 8 [deprecated = true];- Returns:
- The serviceAccount.
-
getServiceAccountBytes
Deprecated.google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=413Service account authorized for the instance.
string service_account = 8 [deprecated = true];- Returns:
- The bytes for serviceAccount.
-
getPscNetworkAttachmentUri
String getPscNetworkAttachmentUri()URI of the PSC network attachment the NIC is attached to (if relevant).
string psc_network_attachment_uri = 9;- Returns:
- The pscNetworkAttachmentUri.
-
getPscNetworkAttachmentUriBytes
com.google.protobuf.ByteString getPscNetworkAttachmentUriBytes()URI of the PSC network attachment the NIC is attached to (if relevant).
string psc_network_attachment_uri = 9;- Returns:
- The bytes for pscNetworkAttachmentUri.
-
getRunning
Deprecated.google.cloud.networkmanagement.v1beta1.InstanceInfo.running is deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=420Indicates whether the Compute Engine instance is running. Deprecated: use the `status` field instead.
bool running = 10 [deprecated = true];- Returns:
- The running.
-
getStatusValue
int getStatusValue()The status of the instance.
.google.cloud.networkmanagement.v1beta1.InstanceInfo.Status status = 11;- Returns:
- The enum numeric value on the wire for status.
-
getStatus
InstanceInfo.Status getStatus()The status of the instance.
.google.cloud.networkmanagement.v1beta1.InstanceInfo.Status status = 11;- Returns:
- The status.
-