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()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Credentials.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Credentials.Builder |
build()
public Credentials build()
Type | Description |
Credentials |
buildPartial()
public Credentials buildPartial()
Type | Description |
Credentials |
clear()
public Credentials.Builder clear()
Type | Description |
Credentials.Builder |
clearField(Descriptors.FieldDescriptor field)
public Credentials.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Credentials.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Credentials.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Credentials.Builder |
clearPassword()
public Credentials.Builder clearPassword()
Initial password.
string password = 2;
Type | Description |
Credentials.Builder | This builder for chaining. |
clearUsername()
public Credentials.Builder clearUsername()
Initial username.
string username = 1;
Type | Description |
Credentials.Builder | This builder for chaining. |
clone()
public Credentials.Builder clone()
Type | Description |
Credentials.Builder |
getDefaultInstanceForType()
public Credentials getDefaultInstanceForType()
Type | Description |
Credentials |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getPassword()
public String getPassword()
Initial password.
string password = 2;
Type | Description |
String | The password. |
getPasswordBytes()
public ByteString getPasswordBytes()
Initial password.
string password = 2;
Type | Description |
ByteString | The bytes for password. |
getUsername()
public String getUsername()
Initial username.
string username = 1;
Type | Description |
String | The username. |
getUsernameBytes()
public ByteString getUsernameBytes()
Initial username.
string username = 1;
Type | Description |
ByteString | The bytes for username. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Credentials other)
public Credentials.Builder mergeFrom(Credentials other)
Name | Description |
other | Credentials |
Type | Description |
Credentials.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Credentials.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Credentials.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Credentials.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Credentials.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Credentials.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Credentials.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Credentials.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Credentials.Builder |
setPassword(String value)
public Credentials.Builder setPassword(String value)
Initial password.
string password = 2;
Name | Description |
value | String The password to set. |
Type | Description |
Credentials.Builder | This builder for chaining. |
setPasswordBytes(ByteString value)
public Credentials.Builder setPasswordBytes(ByteString value)
Initial password.
string password = 2;
Name | Description |
value | ByteString The bytes for password to set. |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Credentials.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Credentials.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Credentials.Builder |
setUsername(String value)
public Credentials.Builder setUsername(String value)
Initial username.
string username = 1;
Name | Description |
value | String The username to set. |
Type | Description |
Credentials.Builder | This builder for chaining. |
setUsernameBytes(ByteString value)
public Credentials.Builder setUsernameBytes(ByteString value)
Initial username.
string username = 1;
Name | Description |
value | ByteString The bytes for username to set. |
Type | Description |
Credentials.Builder | This builder for chaining. |