Class BranchCredentials.Builder

    • Field Summary

      • Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      BranchCredentials.Builder clearBranchKey()
      string branch_key = 1 [json_name = "branchKey"];
      BranchCredentials.Builder clearBranchSecret()
      string branch_secret = 2 [json_name = "branchSecret"];
      BranchCredentials.Builder clearReadonly()
      bool readonly = 3 [json_name = "readonly"];
      java.lang.String getBranchKey()
      string branch_key = 1 [json_name = "branchKey"];
      com.google.protobuf.ByteString getBranchKeyBytes()
      string branch_key = 1 [json_name = "branchKey"];
      java.lang.String getBranchSecret()
      string branch_secret = 2 [json_name = "branchSecret"];
      com.google.protobuf.ByteString getBranchSecretBytes()
      string branch_secret = 2 [json_name = "branchSecret"];
      boolean getReadonly()
      bool readonly = 3 [json_name = "readonly"];
      BranchCredentials.Builder setBranchKey​(java.lang.String value)
      string branch_key = 1 [json_name = "branchKey"];
      BranchCredentials.Builder setBranchKeyBytes​(com.google.protobuf.ByteString value)
      string branch_key = 1 [json_name = "branchKey"];
      BranchCredentials.Builder setBranchSecret​(java.lang.String value)
      string branch_secret = 2 [json_name = "branchSecret"];
      BranchCredentials.Builder setBranchSecretBytes​(com.google.protobuf.ByteString value)
      string branch_secret = 2 [json_name = "branchSecret"];
      BranchCredentials.Builder setReadonly​(boolean value)
      bool readonly = 3 [json_name = "readonly"];
      • Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • getBranchKey

        public java.lang.String getBranchKey()
        string branch_key = 1 [json_name = "branchKey"];
        Specified by:
        getBranchKey in interface BranchCredentialsOrBuilder
        Returns:
        The branchKey.
      • getBranchKeyBytes

        public com.google.protobuf.ByteString getBranchKeyBytes()
        string branch_key = 1 [json_name = "branchKey"];
        Specified by:
        getBranchKeyBytes in interface BranchCredentialsOrBuilder
        Returns:
        The bytes for branchKey.
      • setBranchKey

        public BranchCredentials.Builder setBranchKey​(java.lang.String value)
        string branch_key = 1 [json_name = "branchKey"];
        Parameters:
        value - The branchKey to set.
        Returns:
        This builder for chaining.
      • clearBranchKey

        public BranchCredentials.Builder clearBranchKey()
        string branch_key = 1 [json_name = "branchKey"];
        Returns:
        This builder for chaining.
      • setBranchKeyBytes

        public BranchCredentials.Builder setBranchKeyBytes​(com.google.protobuf.ByteString value)
        string branch_key = 1 [json_name = "branchKey"];
        Parameters:
        value - The bytes for branchKey to set.
        Returns:
        This builder for chaining.
      • getBranchSecret

        public java.lang.String getBranchSecret()
        string branch_secret = 2 [json_name = "branchSecret"];
        Specified by:
        getBranchSecret in interface BranchCredentialsOrBuilder
        Returns:
        The branchSecret.
      • getBranchSecretBytes

        public com.google.protobuf.ByteString getBranchSecretBytes()
        string branch_secret = 2 [json_name = "branchSecret"];
        Specified by:
        getBranchSecretBytes in interface BranchCredentialsOrBuilder
        Returns:
        The bytes for branchSecret.
      • setBranchSecret

        public BranchCredentials.Builder setBranchSecret​(java.lang.String value)
        string branch_secret = 2 [json_name = "branchSecret"];
        Parameters:
        value - The branchSecret to set.
        Returns:
        This builder for chaining.
      • clearBranchSecret

        public BranchCredentials.Builder clearBranchSecret()
        string branch_secret = 2 [json_name = "branchSecret"];
        Returns:
        This builder for chaining.
      • setBranchSecretBytes

        public BranchCredentials.Builder setBranchSecretBytes​(com.google.protobuf.ByteString value)
        string branch_secret = 2 [json_name = "branchSecret"];
        Parameters:
        value - The bytes for branchSecret to set.
        Returns:
        This builder for chaining.
      • setReadonly

        public BranchCredentials.Builder setReadonly​(boolean value)
        bool readonly = 3 [json_name = "readonly"];
        Parameters:
        value - The readonly to set.
        Returns:
        This builder for chaining.
      • clearReadonly

        public BranchCredentials.Builder clearReadonly()
        bool readonly = 3 [json_name = "readonly"];
        Returns:
        This builder for chaining.