Class GetNatIpInfoRouterRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GetNatIpInfoRouterRequest.Builder>
com.google.cloud.compute.v1.GetNatIpInfoRouterRequest.Builder
All Implemented Interfaces:
GetNatIpInfoRouterRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GetNatIpInfoRouterRequest

public static final class GetNatIpInfoRouterRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<GetNatIpInfoRouterRequest.Builder> implements GetNatIpInfoRouterRequestOrBuilder
 A request message for Routers.GetNatIpInfo. See the method description for details.
 
Protobuf type google.cloud.compute.v1.GetNatIpInfoRouterRequest
  • 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<GetNatIpInfoRouterRequest.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<GetNatIpInfoRouterRequest.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<GetNatIpInfoRouterRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public GetNatIpInfoRouterRequest.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<GetNatIpInfoRouterRequest.Builder>
      Throws:
      IOException
    • hasNatName

      public boolean hasNatName()
       Name of the nat service to filter the NAT IP information.
       If it is omitted, all nats for this router will be returned.
       Name should conform to RFC1035.
       
      optional string nat_name = 425596649;
      Specified by:
      hasNatName in interface GetNatIpInfoRouterRequestOrBuilder
      Returns:
      Whether the natName field is set.
    • getNatName

      public String getNatName()
       Name of the nat service to filter the NAT IP information.
       If it is omitted, all nats for this router will be returned.
       Name should conform to RFC1035.
       
      optional string nat_name = 425596649;
      Specified by:
      getNatName in interface GetNatIpInfoRouterRequestOrBuilder
      Returns:
      The natName.
    • getNatNameBytes

      public com.google.protobuf.ByteString getNatNameBytes()
       Name of the nat service to filter the NAT IP information.
       If it is omitted, all nats for this router will be returned.
       Name should conform to RFC1035.
       
      optional string nat_name = 425596649;
      Specified by:
      getNatNameBytes in interface GetNatIpInfoRouterRequestOrBuilder
      Returns:
      The bytes for natName.
    • setNatName

      public GetNatIpInfoRouterRequest.Builder setNatName(String value)
       Name of the nat service to filter the NAT IP information.
       If it is omitted, all nats for this router will be returned.
       Name should conform to RFC1035.
       
      optional string nat_name = 425596649;
      Parameters:
      value - The natName to set.
      Returns:
      This builder for chaining.
    • clearNatName

      public GetNatIpInfoRouterRequest.Builder clearNatName()
       Name of the nat service to filter the NAT IP information.
       If it is omitted, all nats for this router will be returned.
       Name should conform to RFC1035.
       
      optional string nat_name = 425596649;
      Returns:
      This builder for chaining.
    • setNatNameBytes

      public GetNatIpInfoRouterRequest.Builder setNatNameBytes(com.google.protobuf.ByteString value)
       Name of the nat service to filter the NAT IP information.
       If it is omitted, all nats for this router will be returned.
       Name should conform to RFC1035.
       
      optional string nat_name = 425596649;
      Parameters:
      value - The bytes for natName to set.
      Returns:
      This builder for chaining.
    • getProject

      public String getProject()
       Project ID for this request.
       
      string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getProject in interface GetNatIpInfoRouterRequestOrBuilder
      Returns:
      The project.
    • getProjectBytes

      public com.google.protobuf.ByteString getProjectBytes()
       Project ID for this request.
       
      string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getProjectBytes in interface GetNatIpInfoRouterRequestOrBuilder
      Returns:
      The bytes for project.
    • setProject

      public GetNatIpInfoRouterRequest.Builder setProject(String value)
       Project ID for this request.
       
      string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The project to set.
      Returns:
      This builder for chaining.
    • clearProject

      public GetNatIpInfoRouterRequest.Builder clearProject()
       Project ID for this request.
       
      string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setProjectBytes

      public GetNatIpInfoRouterRequest.Builder setProjectBytes(com.google.protobuf.ByteString value)
       Project ID for this request.
       
      string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for project to set.
      Returns:
      This builder for chaining.
    • getRegion

      public String getRegion()
       Name of the region for this request.
       
      string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRegion in interface GetNatIpInfoRouterRequestOrBuilder
      Returns:
      The region.
    • getRegionBytes

      public com.google.protobuf.ByteString getRegionBytes()
       Name of the region for this request.
       
      string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRegionBytes in interface GetNatIpInfoRouterRequestOrBuilder
      Returns:
      The bytes for region.
    • setRegion

      public GetNatIpInfoRouterRequest.Builder setRegion(String value)
       Name of the region for this request.
       
      string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The region to set.
      Returns:
      This builder for chaining.
    • clearRegion

      public GetNatIpInfoRouterRequest.Builder clearRegion()
       Name of the region for this request.
       
      string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setRegionBytes

      public GetNatIpInfoRouterRequest.Builder setRegionBytes(com.google.protobuf.ByteString value)
       Name of the region for this request.
       
      string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for region to set.
      Returns:
      This builder for chaining.
    • getRouter

      public String getRouter()
       Name of the Router resource to query for Nat IP information. The name
       should conform to RFC1035.
       
      string router = 148608841 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRouter in interface GetNatIpInfoRouterRequestOrBuilder
      Returns:
      The router.
    • getRouterBytes

      public com.google.protobuf.ByteString getRouterBytes()
       Name of the Router resource to query for Nat IP information. The name
       should conform to RFC1035.
       
      string router = 148608841 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRouterBytes in interface GetNatIpInfoRouterRequestOrBuilder
      Returns:
      The bytes for router.
    • setRouter

      public GetNatIpInfoRouterRequest.Builder setRouter(String value)
       Name of the Router resource to query for Nat IP information. The name
       should conform to RFC1035.
       
      string router = 148608841 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The router to set.
      Returns:
      This builder for chaining.
    • clearRouter

      public GetNatIpInfoRouterRequest.Builder clearRouter()
       Name of the Router resource to query for Nat IP information. The name
       should conform to RFC1035.
       
      string router = 148608841 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setRouterBytes

      public GetNatIpInfoRouterRequest.Builder setRouterBytes(com.google.protobuf.ByteString value)
       Name of the Router resource to query for Nat IP information. The name
       should conform to RFC1035.
       
      string router = 148608841 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for router to set.
      Returns:
      This builder for chaining.