Class GetRouterStatusRouterRequest.Builder

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

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

      public GetRouterStatusRouterRequest 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 GetRouterStatusRouterRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public GetRouterStatusRouterRequest.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<GetRouterStatusRouterRequest.Builder>
      Throws:
      IOException
    • getProject

      public String getProject()
       Project ID for this request.
       
      string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getProject in interface GetRouterStatusRouterRequestOrBuilder
      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 GetRouterStatusRouterRequestOrBuilder
      Returns:
      The bytes for project.
    • setProject

      public GetRouterStatusRouterRequest.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 GetRouterStatusRouterRequest.Builder clearProject()
       Project ID for this request.
       
      string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setProjectBytes

      public GetRouterStatusRouterRequest.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 GetRouterStatusRouterRequestOrBuilder
      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 GetRouterStatusRouterRequestOrBuilder
      Returns:
      The bytes for region.
    • setRegion

      public GetRouterStatusRouterRequest.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

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

      public GetRouterStatusRouterRequest.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.
       
      string router = 148608841 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getRouter in interface GetRouterStatusRouterRequestOrBuilder
      Returns:
      The router.
    • getRouterBytes

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

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

       Name of the Router resource to query.
       
      string router = 148608841 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setRouterBytes

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