Class BranchCredentials.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<BranchCredentials,BranchCredentials.Builder>
-
- com.streamlayer.sdkSettings.organization.branch.BranchCredentials.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,BranchCredentialsOrBuilder,java.lang.Cloneable
- Enclosing class:
- BranchCredentials
public static final class BranchCredentials.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<BranchCredentials,BranchCredentials.Builder> implements BranchCredentialsOrBuilder
Protobuf typestreamlayer.sdkSettings.organization.branch.BranchCredentials
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BranchCredentials.BuilderclearBranchKey()string branch_key = 1 [json_name = "branchKey"];BranchCredentials.BuilderclearBranchSecret()string branch_secret = 2 [json_name = "branchSecret"];BranchCredentials.BuilderclearReadonly()bool readonly = 3 [json_name = "readonly"];java.lang.StringgetBranchKey()string branch_key = 1 [json_name = "branchKey"];com.google.protobuf.ByteStringgetBranchKeyBytes()string branch_key = 1 [json_name = "branchKey"];java.lang.StringgetBranchSecret()string branch_secret = 2 [json_name = "branchSecret"];com.google.protobuf.ByteStringgetBranchSecretBytes()string branch_secret = 2 [json_name = "branchSecret"];booleangetReadonly()bool readonly = 3 [json_name = "readonly"];BranchCredentials.BuildersetBranchKey(java.lang.String value)string branch_key = 1 [json_name = "branchKey"];BranchCredentials.BuildersetBranchKeyBytes(com.google.protobuf.ByteString value)string branch_key = 1 [json_name = "branchKey"];BranchCredentials.BuildersetBranchSecret(java.lang.String value)string branch_secret = 2 [json_name = "branchSecret"];BranchCredentials.BuildersetBranchSecretBytes(com.google.protobuf.ByteString value)string branch_secret = 2 [json_name = "branchSecret"];BranchCredentials.BuildersetReadonly(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
-
-
-
-
Method Detail
-
getBranchKey
public java.lang.String getBranchKey()
string branch_key = 1 [json_name = "branchKey"];- Specified by:
getBranchKeyin interfaceBranchCredentialsOrBuilder- Returns:
- The branchKey.
-
getBranchKeyBytes
public com.google.protobuf.ByteString getBranchKeyBytes()
string branch_key = 1 [json_name = "branchKey"];- Specified by:
getBranchKeyBytesin interfaceBranchCredentialsOrBuilder- 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:
getBranchSecretin interfaceBranchCredentialsOrBuilder- Returns:
- The branchSecret.
-
getBranchSecretBytes
public com.google.protobuf.ByteString getBranchSecretBytes()
string branch_secret = 2 [json_name = "branchSecret"];- Specified by:
getBranchSecretBytesin interfaceBranchCredentialsOrBuilder- 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.
-
getReadonly
public boolean getReadonly()
bool readonly = 3 [json_name = "readonly"];- Specified by:
getReadonlyin interfaceBranchCredentialsOrBuilder- Returns:
- The readonly.
-
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.
-
-