public static final class UsernameSecretAuth.Builder extends GeneratedMessage.Builder<UsernameSecretAuth.Builder> implements UsernameSecretAuthOrBuilderInfo for username and secret based authentication.
Protobuf type google.cloud.chronicle.v1.UsernameSecretAuth
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UsernameSecretAuth.BuilderImplements
UsernameSecretAuthOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UsernameSecretAuth build()| Returns | |
|---|---|
| Type | Description |
UsernameSecretAuth |
|
buildPartial()
public UsernameSecretAuth buildPartial()| Returns | |
|---|---|
| Type | Description |
UsernameSecretAuth |
|
clear()
public UsernameSecretAuth.Builder clear()| Returns | |
|---|---|
| Type | Description |
UsernameSecretAuth.Builder |
|
clearSecret()
public UsernameSecretAuth.Builder clearSecret()Secret of the account identified by user_name.
string secret = 2;
| Returns | |
|---|---|
| Type | Description |
UsernameSecretAuth.Builder |
This builder for chaining. |
clearUser()
public UsernameSecretAuth.Builder clearUser()Username of an identity used for authentication.
string user = 1;
| Returns | |
|---|---|
| Type | Description |
UsernameSecretAuth.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public UsernameSecretAuth getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UsernameSecretAuth |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSecret()
public String getSecret()Secret of the account identified by user_name.
string secret = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The secret. |
getSecretBytes()
public ByteString getSecretBytes()Secret of the account identified by user_name.
string secret = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for secret. |
getUser()
public String getUser()Username of an identity used for authentication.
string user = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The user. |
getUserBytes()
public ByteString getUserBytes()Username of an identity used for authentication.
string user = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for user. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UsernameSecretAuth other)
public UsernameSecretAuth.Builder mergeFrom(UsernameSecretAuth other)| Parameter | |
|---|---|
| Name | Description |
other |
UsernameSecretAuth |
| Returns | |
|---|---|
| Type | Description |
UsernameSecretAuth.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UsernameSecretAuth.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UsernameSecretAuth.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UsernameSecretAuth.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UsernameSecretAuth.Builder |
|
setSecret(String value)
public UsernameSecretAuth.Builder setSecret(String value)Secret of the account identified by user_name.
string secret = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe secret to set. |
| Returns | |
|---|---|
| Type | Description |
UsernameSecretAuth.Builder |
This builder for chaining. |
setSecretBytes(ByteString value)
public UsernameSecretAuth.Builder setSecretBytes(ByteString value)Secret of the account identified by user_name.
string secret = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for secret to set. |
| Returns | |
|---|---|
| Type | Description |
UsernameSecretAuth.Builder |
This builder for chaining. |
setUser(String value)
public UsernameSecretAuth.Builder setUser(String value)Username of an identity used for authentication.
string user = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe user to set. |
| Returns | |
|---|---|
| Type | Description |
UsernameSecretAuth.Builder |
This builder for chaining. |
setUserBytes(ByteString value)
public UsernameSecretAuth.Builder setUserBytes(ByteString value)Username of an identity used for authentication.
string user = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for user to set. |
| Returns | |
|---|---|
| Type | Description |
UsernameSecretAuth.Builder |
This builder for chaining. |