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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<GkePodInfo.Builder>
    • clear

      public GkePodInfo.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<GkePodInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<GkePodInfo.Builder>
    • getDefaultInstanceForType

      public GkePodInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public GkePodInfo build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public GkePodInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public GkePodInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GkePodInfo.Builder>
    • mergeFrom

      public GkePodInfo.Builder mergeFrom(GkePodInfo other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GkePodInfo.Builder>
      Throws:
      IOException
    • 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;
      Specified by:
      getPodUri in interface GkePodInfoOrBuilder
      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:
      getPodUriBytes in interface GkePodInfoOrBuilder
      Returns:
      The bytes for podUri.
    • setPodUri

      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;
      Parameters:
      value - The podUri to set.
      Returns:
      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:
      This builder for chaining.
    • setPodUriBytes

      public GkePodInfo.Builder setPodUriBytes(com.google.protobuf.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;
      Parameters:
      value - The bytes for podUri to set.
      Returns:
      This builder for chaining.
    • 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) = { ... }
      Specified by:
      getIpAddress in interface GkePodInfoOrBuilder
      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:
      getIpAddressBytes in interface GkePodInfoOrBuilder
      Returns:
      The bytes for ipAddress.
    • setIpAddress

      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) = { ... }
      Parameters:
      value - The ipAddress to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setIpAddressBytes

      public GkePodInfo.Builder setIpAddressBytes(com.google.protobuf.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) = { ... }
      Parameters:
      value - The bytes for ipAddress to set.
      Returns:
      This builder for chaining.
    • getNetworkUri

      public String getNetworkUri()
       URI of the network containing the GKE Pod.
       
      string network_uri = 3;
      Specified by:
      getNetworkUri in interface GkePodInfoOrBuilder
      Returns:
      The networkUri.
    • getNetworkUriBytes

      public com.google.protobuf.ByteString getNetworkUriBytes()
       URI of the network containing the GKE Pod.
       
      string network_uri = 3;
      Specified by:
      getNetworkUriBytes in interface GkePodInfoOrBuilder
      Returns:
      The bytes for networkUri.
    • setNetworkUri

      public GkePodInfo.Builder setNetworkUri(String value)
       URI of the network containing the GKE Pod.
       
      string network_uri = 3;
      Parameters:
      value - The networkUri to set.
      Returns:
      This builder for chaining.
    • clearNetworkUri

      public GkePodInfo.Builder clearNetworkUri()
       URI of the network containing the GKE Pod.
       
      string network_uri = 3;
      Returns:
      This builder for chaining.
    • setNetworkUriBytes

      public GkePodInfo.Builder setNetworkUriBytes(com.google.protobuf.ByteString value)
       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.