Class Compute.ExportedPortBackend.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Compute.ExportedPortBackend.Builder>
com.google.protobuf.GeneratedMessage.Builder<Compute.ExportedPortBackend.Builder>
namespace.cloud.compute.v1beta.Compute.ExportedPortBackend.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Compute.ExportedPortBackendOrBuilder
Enclosing class:
Compute.ExportedPortBackend

public static final class Compute.ExportedPortBackend.Builder extends com.google.protobuf.GeneratedMessage.Builder<Compute.ExportedPortBackend.Builder> implements Compute.ExportedPortBackendOrBuilder
Protobuf type namespace.cloud.compute.v1beta.ExportedPortBackend
  • 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<Compute.ExportedPortBackend.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<Compute.ExportedPortBackend.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<Compute.ExportedPortBackend.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

    • isInitialized

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

      public Compute.ExportedPortBackend.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<Compute.ExportedPortBackend.Builder>
      Throws:
      IOException
    • getPort

      public int getPort()
      int32 port = 1;
      Specified by:
      getPort in interface Compute.ExportedPortBackendOrBuilder
      Returns:
      The port.
    • setPort

      public Compute.ExportedPortBackend.Builder setPort(int value)
      int32 port = 1;
      Parameters:
      value - The port to set.
      Returns:
      This builder for chaining.
    • clearPort

      int32 port = 1;
      Returns:
      This builder for chaining.
    • getIpAddress

      public String getIpAddress()
       Optional IP address of the backend. When unset, the ingress targets the
       instance itself (i.e. loopback). Set this to route ingress traffic to a
       non-loopback endpoint reachable from the instance, e.g. a Kubernetes
       Service's LoadBalancer IP.
       
      string ip_address = 2;
      Specified by:
      getIpAddress in interface Compute.ExportedPortBackendOrBuilder
      Returns:
      The ipAddress.
    • getIpAddressBytes

      public com.google.protobuf.ByteString getIpAddressBytes()
       Optional IP address of the backend. When unset, the ingress targets the
       instance itself (i.e. loopback). Set this to route ingress traffic to a
       non-loopback endpoint reachable from the instance, e.g. a Kubernetes
       Service's LoadBalancer IP.
       
      string ip_address = 2;
      Specified by:
      getIpAddressBytes in interface Compute.ExportedPortBackendOrBuilder
      Returns:
      The bytes for ipAddress.
    • setIpAddress

      public Compute.ExportedPortBackend.Builder setIpAddress(String value)
       Optional IP address of the backend. When unset, the ingress targets the
       instance itself (i.e. loopback). Set this to route ingress traffic to a
       non-loopback endpoint reachable from the instance, e.g. a Kubernetes
       Service's LoadBalancer IP.
       
      string ip_address = 2;
      Parameters:
      value - The ipAddress to set.
      Returns:
      This builder for chaining.
    • clearIpAddress

      public Compute.ExportedPortBackend.Builder clearIpAddress()
       Optional IP address of the backend. When unset, the ingress targets the
       instance itself (i.e. loopback). Set this to route ingress traffic to a
       non-loopback endpoint reachable from the instance, e.g. a Kubernetes
       Service's LoadBalancer IP.
       
      string ip_address = 2;
      Returns:
      This builder for chaining.
    • setIpAddressBytes

      public Compute.ExportedPortBackend.Builder setIpAddressBytes(com.google.protobuf.ByteString value)
       Optional IP address of the backend. When unset, the ingress targets the
       instance itself (i.e. loopback). Set this to route ingress traffic to a
       non-loopback endpoint reachable from the instance, e.g. a Kubernetes
       Service's LoadBalancer IP.
       
      string ip_address = 2;
      Parameters:
      value - The bytes for ipAddress to set.
      Returns:
      This builder for chaining.