Class FetchGitHubInstallationsRequest.Builder

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

public static final class FetchGitHubInstallationsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<FetchGitHubInstallationsRequest.Builder> implements FetchGitHubInstallationsRequestOrBuilder
 Request for fetching github installations.
 
Protobuf type google.cloud.developerconnect.v1.FetchGitHubInstallationsRequest
  • 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<FetchGitHubInstallationsRequest.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<FetchGitHubInstallationsRequest.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<FetchGitHubInstallationsRequest.Builder>
    • getDefaultInstanceForType

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

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

      public FetchGitHubInstallationsRequest.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<FetchGitHubInstallationsRequest.Builder>
      Throws:
      IOException
    • getConnection

      public String getConnection()
       Required. The resource name of the connection in the format
       `projects/*/locations/*/connections/*`.
       
      string connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getConnection in interface FetchGitHubInstallationsRequestOrBuilder
      Returns:
      The connection.
    • getConnectionBytes

      public com.google.protobuf.ByteString getConnectionBytes()
       Required. The resource name of the connection in the format
       `projects/*/locations/*/connections/*`.
       
      string connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getConnectionBytes in interface FetchGitHubInstallationsRequestOrBuilder
      Returns:
      The bytes for connection.
    • setConnection

      public FetchGitHubInstallationsRequest.Builder setConnection(String value)
       Required. The resource name of the connection in the format
       `projects/*/locations/*/connections/*`.
       
      string connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The connection to set.
      Returns:
      This builder for chaining.
    • clearConnection

      public FetchGitHubInstallationsRequest.Builder clearConnection()
       Required. The resource name of the connection in the format
       `projects/*/locations/*/connections/*`.
       
      string connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setConnectionBytes

      public FetchGitHubInstallationsRequest.Builder setConnectionBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the connection in the format
       `projects/*/locations/*/connections/*`.
       
      string connection = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for connection to set.
      Returns:
      This builder for chaining.