Class Repository.URIs.Builder

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

public static final class Repository.URIs.Builder extends com.google.protobuf.GeneratedMessage.Builder<Repository.URIs.Builder> implements Repository.URIsOrBuilder
 URIs for the repository.
 
Protobuf type google.cloud.securesourcemanager.v1.Repository.URIs
  • 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<Repository.URIs.Builder>
    • clear

      public Repository.URIs.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<Repository.URIs.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<Repository.URIs.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public Repository.URIs.Builder mergeFrom(Repository.URIs other)
    • isInitialized

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

      public Repository.URIs.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<Repository.URIs.Builder>
      Throws:
      IOException
    • getHtml

      public String getHtml()
       Output only. HTML is the URI for user to view the repository in a
       browser.
       
      string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getHtml in interface Repository.URIsOrBuilder
      Returns:
      The html.
    • getHtmlBytes

      public com.google.protobuf.ByteString getHtmlBytes()
       Output only. HTML is the URI for user to view the repository in a
       browser.
       
      string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getHtmlBytes in interface Repository.URIsOrBuilder
      Returns:
      The bytes for html.
    • setHtml

      public Repository.URIs.Builder setHtml(String value)
       Output only. HTML is the URI for user to view the repository in a
       browser.
       
      string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The html to set.
      Returns:
      This builder for chaining.
    • clearHtml

      public Repository.URIs.Builder clearHtml()
       Output only. HTML is the URI for user to view the repository in a
       browser.
       
      string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setHtmlBytes

      public Repository.URIs.Builder setHtmlBytes(com.google.protobuf.ByteString value)
       Output only. HTML is the URI for user to view the repository in a
       browser.
       
      string html = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for html to set.
      Returns:
      This builder for chaining.
    • getGitHttps

      public String getGitHttps()
       Output only. git_https is the git HTTPS URI for git operations.
       
      string git_https = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getGitHttps in interface Repository.URIsOrBuilder
      Returns:
      The gitHttps.
    • getGitHttpsBytes

      public com.google.protobuf.ByteString getGitHttpsBytes()
       Output only. git_https is the git HTTPS URI for git operations.
       
      string git_https = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getGitHttpsBytes in interface Repository.URIsOrBuilder
      Returns:
      The bytes for gitHttps.
    • setGitHttps

      public Repository.URIs.Builder setGitHttps(String value)
       Output only. git_https is the git HTTPS URI for git operations.
       
      string git_https = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The gitHttps to set.
      Returns:
      This builder for chaining.
    • clearGitHttps

      public Repository.URIs.Builder clearGitHttps()
       Output only. git_https is the git HTTPS URI for git operations.
       
      string git_https = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setGitHttpsBytes

      public Repository.URIs.Builder setGitHttpsBytes(com.google.protobuf.ByteString value)
       Output only. git_https is the git HTTPS URI for git operations.
       
      string git_https = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for gitHttps to set.
      Returns:
      This builder for chaining.
    • getApi

      public String getApi()
       Output only. API is the URI for API access.
       
      string api = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getApi in interface Repository.URIsOrBuilder
      Returns:
      The api.
    • getApiBytes

      public com.google.protobuf.ByteString getApiBytes()
       Output only. API is the URI for API access.
       
      string api = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getApiBytes in interface Repository.URIsOrBuilder
      Returns:
      The bytes for api.
    • setApi

      public Repository.URIs.Builder setApi(String value)
       Output only. API is the URI for API access.
       
      string api = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The api to set.
      Returns:
      This builder for chaining.
    • clearApi

      public Repository.URIs.Builder clearApi()
       Output only. API is the URI for API access.
       
      string api = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setApiBytes

      public Repository.URIs.Builder setApiBytes(com.google.protobuf.ByteString value)
       Output only. API is the URI for API access.
       
      string api = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for api to set.
      Returns:
      This builder for chaining.