Class GKEMasterInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GKEMasterInfo.Builder>
com.google.cloud.networkmanagement.v1beta1.GKEMasterInfo.Builder
All Implemented Interfaces:
GKEMasterInfoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GKEMasterInfo

public static final class GKEMasterInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<GKEMasterInfo.Builder> implements GKEMasterInfoOrBuilder
 For display only. Metadata associated with a Google Kubernetes Engine (GKE)
 cluster master.
 
Protobuf type google.cloud.networkmanagement.v1beta1.GKEMasterInfo
  • 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<GKEMasterInfo.Builder>
    • clear

      public GKEMasterInfo.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<GKEMasterInfo.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<GKEMasterInfo.Builder>
    • getDefaultInstanceForType

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

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

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

      public GKEMasterInfo.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<GKEMasterInfo.Builder>
    • mergeFrom

      public GKEMasterInfo.Builder mergeFrom(GKEMasterInfo other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<GKEMasterInfo.Builder>
    • mergeFrom

      public GKEMasterInfo.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<GKEMasterInfo.Builder>
      Throws:
      IOException
    • getClusterUri

      public String getClusterUri()
       URI of a GKE cluster.
       
      string cluster_uri = 2;
      Specified by:
      getClusterUri in interface GKEMasterInfoOrBuilder
      Returns:
      The clusterUri.
    • getClusterUriBytes

      public com.google.protobuf.ByteString getClusterUriBytes()
       URI of a GKE cluster.
       
      string cluster_uri = 2;
      Specified by:
      getClusterUriBytes in interface GKEMasterInfoOrBuilder
      Returns:
      The bytes for clusterUri.
    • setClusterUri

      public GKEMasterInfo.Builder setClusterUri(String value)
       URI of a GKE cluster.
       
      string cluster_uri = 2;
      Parameters:
      value - The clusterUri to set.
      Returns:
      This builder for chaining.
    • clearClusterUri

      public GKEMasterInfo.Builder clearClusterUri()
       URI of a GKE cluster.
       
      string cluster_uri = 2;
      Returns:
      This builder for chaining.
    • setClusterUriBytes

      public GKEMasterInfo.Builder setClusterUriBytes(com.google.protobuf.ByteString value)
       URI of a GKE cluster.
       
      string cluster_uri = 2;
      Parameters:
      value - The bytes for clusterUri to set.
      Returns:
      This builder for chaining.
    • getClusterNetworkUri

      public String getClusterNetworkUri()
       URI of a GKE cluster network.
       
      string cluster_network_uri = 4;
      Specified by:
      getClusterNetworkUri in interface GKEMasterInfoOrBuilder
      Returns:
      The clusterNetworkUri.
    • getClusterNetworkUriBytes

      public com.google.protobuf.ByteString getClusterNetworkUriBytes()
       URI of a GKE cluster network.
       
      string cluster_network_uri = 4;
      Specified by:
      getClusterNetworkUriBytes in interface GKEMasterInfoOrBuilder
      Returns:
      The bytes for clusterNetworkUri.
    • setClusterNetworkUri

      public GKEMasterInfo.Builder setClusterNetworkUri(String value)
       URI of a GKE cluster network.
       
      string cluster_network_uri = 4;
      Parameters:
      value - The clusterNetworkUri to set.
      Returns:
      This builder for chaining.
    • clearClusterNetworkUri

      public GKEMasterInfo.Builder clearClusterNetworkUri()
       URI of a GKE cluster network.
       
      string cluster_network_uri = 4;
      Returns:
      This builder for chaining.
    • setClusterNetworkUriBytes

      public GKEMasterInfo.Builder setClusterNetworkUriBytes(com.google.protobuf.ByteString value)
       URI of a GKE cluster network.
       
      string cluster_network_uri = 4;
      Parameters:
      value - The bytes for clusterNetworkUri to set.
      Returns:
      This builder for chaining.
    • getInternalIp

      public String getInternalIp()
       Internal IP address of a GKE cluster control plane.
       
      string internal_ip = 5;
      Specified by:
      getInternalIp in interface GKEMasterInfoOrBuilder
      Returns:
      The internalIp.
    • getInternalIpBytes

      public com.google.protobuf.ByteString getInternalIpBytes()
       Internal IP address of a GKE cluster control plane.
       
      string internal_ip = 5;
      Specified by:
      getInternalIpBytes in interface GKEMasterInfoOrBuilder
      Returns:
      The bytes for internalIp.
    • setInternalIp

      public GKEMasterInfo.Builder setInternalIp(String value)
       Internal IP address of a GKE cluster control plane.
       
      string internal_ip = 5;
      Parameters:
      value - The internalIp to set.
      Returns:
      This builder for chaining.
    • clearInternalIp

      public GKEMasterInfo.Builder clearInternalIp()
       Internal IP address of a GKE cluster control plane.
       
      string internal_ip = 5;
      Returns:
      This builder for chaining.
    • setInternalIpBytes

      public GKEMasterInfo.Builder setInternalIpBytes(com.google.protobuf.ByteString value)
       Internal IP address of a GKE cluster control plane.
       
      string internal_ip = 5;
      Parameters:
      value - The bytes for internalIp to set.
      Returns:
      This builder for chaining.
    • getExternalIp

      public String getExternalIp()
       External IP address of a GKE cluster control plane.
       
      string external_ip = 6;
      Specified by:
      getExternalIp in interface GKEMasterInfoOrBuilder
      Returns:
      The externalIp.
    • getExternalIpBytes

      public com.google.protobuf.ByteString getExternalIpBytes()
       External IP address of a GKE cluster control plane.
       
      string external_ip = 6;
      Specified by:
      getExternalIpBytes in interface GKEMasterInfoOrBuilder
      Returns:
      The bytes for externalIp.
    • setExternalIp

      public GKEMasterInfo.Builder setExternalIp(String value)
       External IP address of a GKE cluster control plane.
       
      string external_ip = 6;
      Parameters:
      value - The externalIp to set.
      Returns:
      This builder for chaining.
    • clearExternalIp

      public GKEMasterInfo.Builder clearExternalIp()
       External IP address of a GKE cluster control plane.
       
      string external_ip = 6;
      Returns:
      This builder for chaining.
    • setExternalIpBytes

      public GKEMasterInfo.Builder setExternalIpBytes(com.google.protobuf.ByteString value)
       External IP address of a GKE cluster control plane.
       
      string external_ip = 6;
      Parameters:
      value - The bytes for externalIp to set.
      Returns:
      This builder for chaining.
    • getDnsEndpoint

      public String getDnsEndpoint()
       DNS endpoint of a GKE cluster control plane.
       
      string dns_endpoint = 7;
      Specified by:
      getDnsEndpoint in interface GKEMasterInfoOrBuilder
      Returns:
      The dnsEndpoint.
    • getDnsEndpointBytes

      public com.google.protobuf.ByteString getDnsEndpointBytes()
       DNS endpoint of a GKE cluster control plane.
       
      string dns_endpoint = 7;
      Specified by:
      getDnsEndpointBytes in interface GKEMasterInfoOrBuilder
      Returns:
      The bytes for dnsEndpoint.
    • setDnsEndpoint

      public GKEMasterInfo.Builder setDnsEndpoint(String value)
       DNS endpoint of a GKE cluster control plane.
       
      string dns_endpoint = 7;
      Parameters:
      value - The dnsEndpoint to set.
      Returns:
      This builder for chaining.
    • clearDnsEndpoint

      public GKEMasterInfo.Builder clearDnsEndpoint()
       DNS endpoint of a GKE cluster control plane.
       
      string dns_endpoint = 7;
      Returns:
      This builder for chaining.
    • setDnsEndpointBytes

      public GKEMasterInfo.Builder setDnsEndpointBytes(com.google.protobuf.ByteString value)
       DNS endpoint of a GKE cluster control plane.
       
      string dns_endpoint = 7;
      Parameters:
      value - The bytes for dnsEndpoint to set.
      Returns:
      This builder for chaining.