Interface InstanceInfoOrBuilder (1.8.0)

public interface InstanceInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisplayName()

public abstract String getDisplayName()

Name of a Compute Engine instance.

string display_name = 1;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Name of a Compute Engine instance.

string display_name = 1;

Returns
TypeDescription
ByteString

The bytes for displayName.

getExternalIp()

public abstract String getExternalIp()

External IP address of the network interface.

string external_ip = 6;

Returns
TypeDescription
String

The externalIp.

getExternalIpBytes()

public abstract ByteString getExternalIpBytes()

External IP address of the network interface.

string external_ip = 6;

Returns
TypeDescription
ByteString

The bytes for externalIp.

getInterface()

public abstract String getInterface()

Name of the network interface of a Compute Engine instance.

string interface = 3;

Returns
TypeDescription
String

The interface.

getInterfaceBytes()

public abstract ByteString getInterfaceBytes()

Name of the network interface of a Compute Engine instance.

string interface = 3;

Returns
TypeDescription
ByteString

The bytes for interface.

getInternalIp()

public abstract String getInternalIp()

Internal IP address of the network interface.

string internal_ip = 5;

Returns
TypeDescription
String

The internalIp.

getInternalIpBytes()

public abstract ByteString getInternalIpBytes()

Internal IP address of the network interface.

string internal_ip = 5;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of networkTags.

getNetworkTagsList()

public abstract List<String> getNetworkTagsList()

Network tags configured on the instance.

repeated string network_tags = 7;

Returns
TypeDescription
List<String>

A list containing the networkTags.

getNetworkUri()

public abstract String getNetworkUri()

URI of a Compute Engine network.

string network_uri = 4;

Returns
TypeDescription
String

The networkUri.

getNetworkUriBytes()

public abstract ByteString getNetworkUriBytes()

URI of a Compute Engine network.

string network_uri = 4;

Returns
TypeDescription
ByteString

The bytes for networkUri.

getServiceAccount() (deprecated)

public abstract String getServiceAccount()

Deprecated. google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. See google/cloud/networkmanagement/v1/trace.proto;l=232

Service account authorized for the instance.

string service_account = 8 [deprecated = true];

Returns
TypeDescription
String

The serviceAccount.

getServiceAccountBytes() (deprecated)

public abstract ByteString getServiceAccountBytes()

Deprecated. google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. See google/cloud/networkmanagement/v1/trace.proto;l=232

Service account authorized for the instance.

string service_account = 8 [deprecated = true];

Returns
TypeDescription
ByteString

The bytes for serviceAccount.

getUri()

public abstract String getUri()

URI of a Compute Engine instance.

string uri = 2;

Returns
TypeDescription
String

The uri.

getUriBytes()

public abstract ByteString getUriBytes()

URI of a Compute Engine instance.

string uri = 2;

Returns
TypeDescription
ByteString

The bytes for uri.