Interface InstanceInfoOrBuilder (1.49.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
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 int

The 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 int

The 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.

getServiceAccount() (deprecated)

public abstract String getServiceAccount()

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

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=303

Service account authorized for the instance.

string service_account = 8 [deprecated = true];

Returns
Type Description
ByteString

The bytes for serviceAccount.

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.