Class GetInterconnectLocationRequest.Builder

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

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

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

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

      public GetInterconnectLocationRequest.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<GetInterconnectLocationRequest.Builder>
      Throws:
      IOException
    • getInterconnectLocation

      public String getInterconnectLocation()
       Name of the interconnect location to return.
       
      string interconnect_location = 492235846 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInterconnectLocation in interface GetInterconnectLocationRequestOrBuilder
      Returns:
      The interconnectLocation.
    • getInterconnectLocationBytes

      public com.google.protobuf.ByteString getInterconnectLocationBytes()
       Name of the interconnect location to return.
       
      string interconnect_location = 492235846 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInterconnectLocationBytes in interface GetInterconnectLocationRequestOrBuilder
      Returns:
      The bytes for interconnectLocation.
    • setInterconnectLocation

      public GetInterconnectLocationRequest.Builder setInterconnectLocation(String value)
       Name of the interconnect location to return.
       
      string interconnect_location = 492235846 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The interconnectLocation to set.
      Returns:
      This builder for chaining.
    • clearInterconnectLocation

      public GetInterconnectLocationRequest.Builder clearInterconnectLocation()
       Name of the interconnect location to return.
       
      string interconnect_location = 492235846 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setInterconnectLocationBytes

      public GetInterconnectLocationRequest.Builder setInterconnectLocationBytes(com.google.protobuf.ByteString value)
       Name of the interconnect location to return.
       
      string interconnect_location = 492235846 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for interconnectLocation 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 GetInterconnectLocationRequestOrBuilder
      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 GetInterconnectLocationRequestOrBuilder
      Returns:
      The bytes for project.
    • setProject

       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

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

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