Class GkePodInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GkePodInfo.Builder>
com.google.cloud.networkmanagement.v1beta1.GkePodInfo.Builder
- All Implemented Interfaces:
GkePodInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GkePodInfo
public static final class GkePodInfo.Builder
extends com.google.protobuf.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()IP address of a GKE Pod.URI of the network containing the GKE Pod.URI of a GKE Pod.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorIP address of a GKE Pod.com.google.protobuf.ByteStringIP address of a GKE Pod.URI of the network containing the GKE Pod.com.google.protobuf.ByteStringURI of the network containing the GKE Pod.URI of a GKE Pod.com.google.protobuf.ByteStringURI of a GKE Pod.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(GkePodInfo other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setIpAddress(String value) IP address of a GKE Pod.setIpAddressBytes(com.google.protobuf.ByteString value) IP address of a GKE Pod.setNetworkUri(String value) URI of the network containing the GKE Pod.setNetworkUriBytes(com.google.protobuf.ByteString value) URI of the network containing the GKE Pod.URI of a GKE Pod.setPodUriBytes(com.google.protobuf.ByteString value) URI of a GKE Pod.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<GkePodInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<GkePodInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<GkePodInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GkePodInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GkePodInfo.Builder>
-
mergeFrom
public GkePodInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GkePodInfo.Builder>- Throws:
IOException
-
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;- Specified by:
getPodUriin interfaceGkePodInfoOrBuilder- Returns:
- The podUri.
-
getPodUriBytes
public com.google.protobuf.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;- Specified by:
getPodUriBytesin interfaceGkePodInfoOrBuilder- Returns:
- The bytes for podUri.
-
setPodUri
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;- Parameters:
value- The podUri to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setPodUriBytes
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;- Parameters:
value- The bytes for podUri to set.- Returns:
- This builder for chaining.
-
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) = { ... }- Specified by:
getIpAddressin interfaceGkePodInfoOrBuilder- Returns:
- The ipAddress.
-
getIpAddressBytes
public com.google.protobuf.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) = { ... }- Specified by:
getIpAddressBytesin interfaceGkePodInfoOrBuilder- Returns:
- The bytes for ipAddress.
-
setIpAddress
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) = { ... }- Parameters:
value- The ipAddress to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setIpAddressBytes
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) = { ... }- Parameters:
value- The bytes for ipAddress to set.- Returns:
- This builder for chaining.
-
getNetworkUri
URI of the network containing the GKE Pod.
string network_uri = 3;- Specified by:
getNetworkUriin interfaceGkePodInfoOrBuilder- Returns:
- The networkUri.
-
getNetworkUriBytes
public com.google.protobuf.ByteString getNetworkUriBytes()URI of the network containing the GKE Pod.
string network_uri = 3;- Specified by:
getNetworkUriBytesin interfaceGkePodInfoOrBuilder- Returns:
- The bytes for networkUri.
-
setNetworkUri
URI of the network containing the GKE Pod.
string network_uri = 3;- Parameters:
value- The networkUri to set.- Returns:
- This builder for chaining.
-
clearNetworkUri
URI of the network containing the GKE Pod.
string network_uri = 3;- Returns:
- This builder for chaining.
-
setNetworkUriBytes
URI of the network containing the GKE Pod.
string network_uri = 3;- Parameters:
value- The bytes for networkUri to set.- Returns:
- This builder for chaining.
-