Class RestoreAgentRequest.GitSource.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RestoreAgentRequest.GitSource.Builder>
com.google.cloud.dialogflow.cx.v3beta1.RestoreAgentRequest.GitSource.Builder
All Implemented Interfaces:
RestoreAgentRequest.GitSourceOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
RestoreAgentRequest.GitSource

public static final class RestoreAgentRequest.GitSource.Builder extends com.google.protobuf.GeneratedMessage.Builder<RestoreAgentRequest.GitSource.Builder> implements RestoreAgentRequest.GitSourceOrBuilder
 Settings for restoring from a git branch
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.RestoreAgentRequest.GitSource
  • 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<RestoreAgentRequest.GitSource.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<RestoreAgentRequest.GitSource.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<RestoreAgentRequest.GitSource.Builder>
    • getDefaultInstanceForType

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

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

      public RestoreAgentRequest.GitSource.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<RestoreAgentRequest.GitSource.Builder>
      Throws:
      IOException
    • getTrackingBranch

      public String getTrackingBranch()
       tracking branch for the git pull
       
      string tracking_branch = 1;
      Specified by:
      getTrackingBranch in interface RestoreAgentRequest.GitSourceOrBuilder
      Returns:
      The trackingBranch.
    • getTrackingBranchBytes

      public com.google.protobuf.ByteString getTrackingBranchBytes()
       tracking branch for the git pull
       
      string tracking_branch = 1;
      Specified by:
      getTrackingBranchBytes in interface RestoreAgentRequest.GitSourceOrBuilder
      Returns:
      The bytes for trackingBranch.
    • setTrackingBranch

      public RestoreAgentRequest.GitSource.Builder setTrackingBranch(String value)
       tracking branch for the git pull
       
      string tracking_branch = 1;
      Parameters:
      value - The trackingBranch to set.
      Returns:
      This builder for chaining.
    • clearTrackingBranch

      public RestoreAgentRequest.GitSource.Builder clearTrackingBranch()
       tracking branch for the git pull
       
      string tracking_branch = 1;
      Returns:
      This builder for chaining.
    • setTrackingBranchBytes

      public RestoreAgentRequest.GitSource.Builder setTrackingBranchBytes(com.google.protobuf.ByteString value)
       tracking branch for the git pull
       
      string tracking_branch = 1;
      Parameters:
      value - The bytes for trackingBranch to set.
      Returns:
      This builder for chaining.