Interface InstanceInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstanceInfo
,InstanceInfo.Builder
public interface InstanceInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description String
getDisplayName()
Name of a Compute Engine instance.com.google.protobuf.ByteString
getDisplayNameBytes()
Name of a Compute Engine instance.String
getExternalIp()
External IP address of the network interface.com.google.protobuf.ByteString
getExternalIpBytes()
External IP address of the network interface.String
getInterface()
Name of the network interface of a Compute Engine instance.com.google.protobuf.ByteString
getInterfaceBytes()
Name of the network interface of a Compute Engine instance.String
getInternalIp()
Internal IP address of the network interface.com.google.protobuf.ByteString
getInternalIpBytes()
Internal IP address of the network interface.String
getNetworkTags(int index)
Network tags configured on the instance.com.google.protobuf.ByteString
getNetworkTagsBytes(int index)
Network tags configured on the instance.int
getNetworkTagsCount()
Network tags configured on the instance.List<String>
getNetworkTagsList()
Network tags configured on the instance.String
getNetworkUri()
URI of a Compute Engine network.com.google.protobuf.ByteString
getNetworkUriBytes()
URI of a Compute Engine network.String
getServiceAccount()
Deprecated.google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated.com.google.protobuf.ByteString
getServiceAccountBytes()
Deprecated.google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated.String
getUri()
URI of a Compute Engine instance.com.google.protobuf.ByteString
getUriBytes()
URI of a Compute Engine instance.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
List<String> 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
String getNetworkTags(int index)
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 String getServiceAccount()
Deprecated.google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. See google/cloud/networkmanagement/v1/trace.proto;l=268Service account authorized for the instance.
string service_account = 8 [deprecated = true];
- Returns:
- The serviceAccount.
-
getServiceAccountBytes
@Deprecated com.google.protobuf.ByteString getServiceAccountBytes()
Deprecated.google.cloud.networkmanagement.v1.InstanceInfo.service_account is deprecated. See google/cloud/networkmanagement/v1/trace.proto;l=268Service account authorized for the instance.
string service_account = 8 [deprecated = true];
- Returns:
- The bytes for serviceAccount.
-
-