public static final class Credentials.Builder extends GeneratedMessage.Builder<Credentials.Builder> implements CredentialsOrBuilderCredentials for a private cloud.
Protobuf type google.cloud.vmwareengine.v1.Credentials
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Credentials.BuilderImplements
CredentialsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Credentials build()| Returns | |
|---|---|
| Type | Description |
Credentials |
|
buildPartial()
public Credentials buildPartial()| Returns | |
|---|---|
| Type | Description |
Credentials |
|
clear()
public Credentials.Builder clear()| Returns | |
|---|---|
| Type | Description |
Credentials.Builder |
|
clearPassword()
public Credentials.Builder clearPassword()Initial password.
string password = 2;
| Returns | |
|---|---|
| Type | Description |
Credentials.Builder |
This builder for chaining. |
clearUsername()
public Credentials.Builder clearUsername()Initial username.
string username = 1;
| Returns | |
|---|---|
| Type | Description |
Credentials.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Credentials getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Credentials |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPassword()
public String getPassword()Initial password.
string password = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The password. |
getPasswordBytes()
public ByteString getPasswordBytes()Initial password.
string password = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for password. |
getUsername()
public String getUsername()Initial username.
string username = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The username. |
getUsernameBytes()
public ByteString getUsernameBytes()Initial username.
string username = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for username. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Credentials other)
public Credentials.Builder mergeFrom(Credentials other)| Parameter | |
|---|---|
| Name | Description |
other |
Credentials |
| Returns | |
|---|---|
| Type | Description |
Credentials.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Credentials.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Credentials.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Credentials.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Credentials.Builder |
|
setPassword(String value)
public Credentials.Builder setPassword(String value)Initial password.
string password = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe password to set. |
| Returns | |
|---|---|
| Type | Description |
Credentials.Builder |
This builder for chaining. |
setPasswordBytes(ByteString value)
public Credentials.Builder setPasswordBytes(ByteString value)Initial password.
string password = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for password to set. |
| Returns | |
|---|---|
| Type | Description |
Credentials.Builder |
This builder for chaining. |
setUsername(String value)
public Credentials.Builder setUsername(String value)Initial username.
string username = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe username to set. |
| Returns | |
|---|---|
| Type | Description |
Credentials.Builder |
This builder for chaining. |
setUsernameBytes(ByteString value)
public Credentials.Builder setUsernameBytes(ByteString value)Initial username.
string username = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for username to set. |
| Returns | |
|---|---|
| Type | Description |
Credentials.Builder |
This builder for chaining. |