Class GkePodInfo (1.84.0)

public final class GkePodInfo extends GeneratedMessage implements GkePodInfoOrBuilder

For display only. Metadata associated with a Google Kubernetes Engine (GKE) Pod.

Protobuf type google.cloud.networkmanagement.v1beta1.GkePodInfo

Implements

GkePodInfoOrBuilder

Static Fields

IP_ADDRESS_FIELD_NUMBER

public static final int IP_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

NETWORK_URI_FIELD_NUMBER

public static final int NETWORK_URI_FIELD_NUMBER
Field Value
Type Description
int

POD_URI_FIELD_NUMBER

public static final int POD_URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GkePodInfo getDefaultInstance()
Returns
Type Description
GkePodInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static GkePodInfo.Builder newBuilder()
Returns
Type Description
GkePodInfo.Builder

newBuilder(GkePodInfo prototype)

public static GkePodInfo.Builder newBuilder(GkePodInfo prototype)
Parameter
Name Description
prototype GkePodInfo
Returns
Type Description
GkePodInfo.Builder

parseDelimitedFrom(InputStream input)

public static GkePodInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GkePodInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GkePodInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GkePodInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GkePodInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GkePodInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GkePodInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GkePodInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GkePodInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GkePodInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GkePodInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GkePodInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GkePodInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GkePodInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GkePodInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GkePodInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GkePodInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GkePodInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GkePodInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GkePodInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GkePodInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GkePodInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GkePodInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GkePodInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GkePodInfo> parser()
Returns
Type Description
Parser<GkePodInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GkePodInfo getDefaultInstanceForType()
Returns
Type Description
GkePodInfo

getIpAddress()

public String getIpAddress()

IP address of a GKE Pod. If the Pod is dual-stack, this is the IP address relevant to the trace.

string ip_address = 2 [(.google.api.field_info) = { ... }

Returns
Type Description
String

The ipAddress.

getIpAddressBytes()

public ByteString getIpAddressBytes()

IP address of a GKE Pod. If the Pod is dual-stack, this is the IP address relevant to the trace.

string ip_address = 2 [(.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for ipAddress.

getNetworkUri()

public String getNetworkUri()

URI of the network containing the GKE Pod.

string network_uri = 3;

Returns
Type Description
String

The networkUri.

getNetworkUriBytes()

public ByteString getNetworkUriBytes()

URI of the network containing the GKE Pod.

string network_uri = 3;

Returns
Type Description
ByteString

The bytes for networkUri.

getParserForType()

public Parser<GkePodInfo> getParserForType()
Returns
Type Description
Parser<GkePodInfo>
Overrides

getPodUri()

public String getPodUri()

URI of a GKE Pod. For Pods in regional Clusters, the URI format is: projects/{project}/locations/{location}/clusters/{cluster}/k8s/namespaces/{namespace}/pods/{pod} For Pods in zonal Clusters, the URI format is: projects/{project}/zones/{zone}/clusters/{cluster}/k8s/namespaces/{namespace}/pods/{pod}

string pod_uri = 1;

Returns
Type Description
String

The podUri.

getPodUriBytes()

public ByteString getPodUriBytes()

URI of a GKE Pod. For Pods in regional Clusters, the URI format is: projects/{project}/locations/{location}/clusters/{cluster}/k8s/namespaces/{namespace}/pods/{pod} For Pods in zonal Clusters, the URI format is: projects/{project}/zones/{zone}/clusters/{cluster}/k8s/namespaces/{namespace}/pods/{pod}

string pod_uri = 1;

Returns
Type Description
ByteString

The bytes for podUri.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GkePodInfo.Builder newBuilderForType()
Returns
Type Description
GkePodInfo.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected GkePodInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GkePodInfo.Builder
Overrides

toBuilder()

public GkePodInfo.Builder toBuilder()
Returns
Type Description
GkePodInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException