public static final class Credentials.Builder extends GeneratedMessageV3.Builder<Credentials.Builder> implements CredentialsOrBuilder
Credentials for a private cloud.
Protobuf type google.cloud.vmwareengine.v1.Credentials
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Credentials.BuilderImplements
CredentialsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Credentials.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Credentials.Builder |
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 |
clearField(Descriptors.FieldDescriptor field)
public Credentials.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Credentials.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Credentials.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
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. |
clone()
public Credentials.Builder clone()
Returns | |
---|---|
Type | Description |
Credentials.Builder |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Credentials.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Credentials.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Credentials.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Credentials.Builder |
setPassword(String value)
public Credentials.Builder setPassword(String value)
Initial password.
string password = 2;
Parameter | |
---|---|
Name | Description |
value |
String The 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 |
ByteString The bytes for password to set. |
Returns | |
---|---|
Type | Description |
Credentials.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Credentials.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Credentials.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Credentials.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Credentials.Builder |
setUsername(String value)
public Credentials.Builder setUsername(String value)
Initial username.
string username = 1;
Parameter | |
---|---|
Name | Description |
value |
String The 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 |
ByteString The bytes for username to set. |
Returns | |
---|---|
Type | Description |
Credentials.Builder |
This builder for chaining. |