public static final class GkePodInfo.Builder extends GeneratedMessage.Builder<GkePodInfo.Builder> implements GkePodInfoOrBuilderFor display only. Metadata associated with a Google Kubernetes Engine (GKE) Pod.
Protobuf type google.cloud.networkmanagement.v1.GkePodInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GkePodInfo.BuilderImplements
GkePodInfoOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GkePodInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GkePodInfo.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for podUri to set. |
| Returns | |
|---|---|
| Type | Description |
GkePodInfo.Builder |
This builder for chaining. |