Class GkePodInfo.Builder (1.84.0)

public static final class GkePodInfo.Builder extends GeneratedMessage.Builder<GkePodInfo.Builder> implements GkePodInfoOrBuilder

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

Protobuf type google.cloud.networkmanagement.v1beta1.GkePodInfo

Implements

GkePodInfoOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public GkePodInfo build()
Returns
Type Description
GkePodInfo

buildPartial()

public GkePodInfo buildPartial()
Returns
Type Description
GkePodInfo

clear()

public GkePodInfo.Builder clear()
Returns
Type Description
GkePodInfo.Builder
Overrides

clearIpAddress()

public GkePodInfo.Builder clearIpAddress()

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
GkePodInfo.Builder

This builder for chaining.

clearNetworkUri()

public GkePodInfo.Builder clearNetworkUri()

URI of the network containing the GKE Pod.

string network_uri = 3;

Returns
Type Description
GkePodInfo.Builder

This builder for chaining.

clearPodUri()

public GkePodInfo.Builder clearPodUri()

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
GkePodInfo.Builder

This builder for chaining.

getDefaultInstanceForType()

public GkePodInfo getDefaultInstanceForType()
Returns
Type Description
GkePodInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GkePodInfo other)

public GkePodInfo.Builder mergeFrom(GkePodInfo other)
Parameter
Name Description
other GkePodInfo
Returns
Type Description
GkePodInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GkePodInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GkePodInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GkePodInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GkePodInfo.Builder
Overrides

setIpAddress(String value)

public GkePodInfo.Builder setIpAddress(String value)

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) = { ... }

Parameter
Name Description
value String

The ipAddress to set.

Returns
Type Description
GkePodInfo.Builder

This builder for chaining.

setIpAddressBytes(ByteString value)

public GkePodInfo.Builder setIpAddressBytes(ByteString value)

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) = { ... }

Parameter
Name Description
value ByteString

The bytes for ipAddress to set.

Returns
Type Description
GkePodInfo.Builder

This builder for chaining.

setNetworkUri(String value)

public GkePodInfo.Builder setNetworkUri(String value)

URI of the network containing the GKE Pod.

string network_uri = 3;

Parameter
Name Description
value String

The networkUri to set.

Returns
Type Description
GkePodInfo.Builder

This builder for chaining.

setNetworkUriBytes(ByteString value)

public GkePodInfo.Builder setNetworkUriBytes(ByteString value)

URI of the network containing the GKE Pod.

string network_uri = 3;

Parameter
Name Description
value ByteString

The bytes for networkUri to set.

Returns
Type Description
GkePodInfo.Builder

This builder for chaining.

setPodUri(String value)

public GkePodInfo.Builder setPodUri(String value)

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;

Parameter
Name Description
value String

The podUri to set.

Returns
Type Description
GkePodInfo.Builder

This builder for chaining.

setPodUriBytes(ByteString value)

public GkePodInfo.Builder setPodUriBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for podUri to set.

Returns
Type Description
GkePodInfo.Builder

This builder for chaining.