public interface InstanceInfoOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDisplayName()
public abstract String getDisplayName()Name of a Compute Engine instance.
string display_name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes()Name of a Compute Engine instance.
string display_name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getExternalIp()
public abstract String getExternalIp()External IP address of the network interface.
string external_ip = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The externalIp. |
getExternalIpBytes()
public abstract ByteString getExternalIpBytes()External IP address of the network interface.
string external_ip = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for externalIp. |
getInterface()
public abstract String getInterface()Name of the network interface of a Compute Engine instance.
string interface = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The interface. |
getInterfaceBytes()
public abstract ByteString getInterfaceBytes()Name of the network interface of a Compute Engine instance.
string interface = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for interface. |
getInternalIp()
public abstract String getInternalIp()Internal IP address of the network interface.
string internal_ip = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The internalIp. |
getInternalIpBytes()
public abstract ByteString getInternalIpBytes()Internal IP address of the network interface.
string internal_ip = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for internalIp. |
getNetworkTags(int index)
public abstract String getNetworkTags(int index)Network tags configured on the instance.
repeated string network_tags = 7;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The networkTags at the given index. |
getNetworkTagsBytes(int index)
public abstract ByteString getNetworkTagsBytes(int index)Network tags configured on the instance.
repeated string network_tags = 7;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the networkTags at the given index. |
getNetworkTagsCount()
public abstract int getNetworkTagsCount()Network tags configured on the instance.
repeated string network_tags = 7;
| Returns | |
|---|---|
| Type | Description |
int |
The count of networkTags. |
getNetworkTagsList()
public abstract List<String> getNetworkTagsList()Network tags configured on the instance.
repeated string network_tags = 7;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the networkTags. |
getNetworkUri()
public abstract String getNetworkUri()URI of a Compute Engine network.
string network_uri = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The networkUri. |
getNetworkUriBytes()
public abstract ByteString getNetworkUriBytes()URI of a Compute Engine network.
string network_uri = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for networkUri. |
getPscNetworkAttachmentUri()
public abstract String getPscNetworkAttachmentUri()URI of the PSC network attachment the NIC is attached to (if relevant).
string psc_network_attachment_uri = 9;
| Returns | |
|---|---|
| Type | Description |
String |
The pscNetworkAttachmentUri. |
getPscNetworkAttachmentUriBytes()
public abstract ByteString getPscNetworkAttachmentUriBytes()URI of the PSC network attachment the NIC is attached to (if relevant).
string psc_network_attachment_uri = 9;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pscNetworkAttachmentUri. |
getRunning() (deprecated)
public abstract boolean getRunning()Deprecated. google.cloud.networkmanagement.v1beta1.InstanceInfo.running is deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=360
Indicates whether the Compute Engine instance is running.
Deprecated: use the status field instead.
bool running = 10 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
boolean |
The running. |
getServiceAccount() (deprecated)
public abstract String getServiceAccount()Deprecated. google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=353
Service account authorized for the instance.
string service_account = 8 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
String |
The serviceAccount. |
getServiceAccountBytes() (deprecated)
public abstract ByteString getServiceAccountBytes()Deprecated. google.cloud.networkmanagement.v1beta1.InstanceInfo.service_account is deprecated. See google/cloud/networkmanagement/v1beta1/trace.proto;l=353
Service account authorized for the instance.
string service_account = 8 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serviceAccount. |
getStatus()
public abstract InstanceInfo.Status getStatus()The status of the instance.
.google.cloud.networkmanagement.v1beta1.InstanceInfo.Status status = 11;
| Returns | |
|---|---|
| Type | Description |
InstanceInfo.Status |
The status. |
getStatusValue()
public abstract int getStatusValue()The status of the instance.
.google.cloud.networkmanagement.v1beta1.InstanceInfo.Status status = 11;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for status. |
getUri()
public abstract String getUri()URI of a Compute Engine instance.
string uri = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The uri. |
getUriBytes()
public abstract ByteString getUriBytes()URI of a Compute Engine instance.
string uri = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uri. |