Package viam.app.data.v1
Class Data.ConfigureDatabaseUserRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Data.ConfigureDatabaseUserRequest,Data.ConfigureDatabaseUserRequest.Builder>
viam.app.data.v1.Data.ConfigureDatabaseUserRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Data.ConfigureDatabaseUserRequestOrBuilder
- Enclosing class:
- Data.ConfigureDatabaseUserRequest
public static final class Data.ConfigureDatabaseUserRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Data.ConfigureDatabaseUserRequest,Data.ConfigureDatabaseUserRequest.Builder>
implements Data.ConfigureDatabaseUserRequestOrBuilder
ConfigureDatabaseUserRequest accepts a Viam organization ID and a password for the database user being configured. Viam uses gRPC over TLS, so the entire request will be encrypted while in flight, including the password.Protobuf type
viam.app.data.v1.ConfigureDatabaseUserRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionstring organization_id = 1 [json_name = "organizationId"];
string password = 2 [json_name = "password"];
string organization_id = 1 [json_name = "organizationId"];
com.google.protobuf.ByteString
string organization_id = 1 [json_name = "organizationId"];
string password = 2 [json_name = "password"];
com.google.protobuf.ByteString
string password = 2 [json_name = "password"];
setOrganizationId
(String value) string organization_id = 1 [json_name = "organizationId"];
setOrganizationIdBytes
(com.google.protobuf.ByteString value) string organization_id = 1 [json_name = "organizationId"];
setPassword
(String value) string password = 2 [json_name = "password"];
setPasswordBytes
(com.google.protobuf.ByteString value) string password = 2 [json_name = "password"];
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
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getOrganizationId
string organization_id = 1 [json_name = "organizationId"];
- Specified by:
getOrganizationId
in interfaceData.ConfigureDatabaseUserRequestOrBuilder
- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()string organization_id = 1 [json_name = "organizationId"];
- Specified by:
getOrganizationIdBytes
in interfaceData.ConfigureDatabaseUserRequestOrBuilder
- Returns:
- The bytes for organizationId.
-
setOrganizationId
string organization_id = 1 [json_name = "organizationId"];
- Parameters:
value
- The organizationId to set.- Returns:
- This builder for chaining.
-
clearOrganizationId
string organization_id = 1 [json_name = "organizationId"];
- Returns:
- This builder for chaining.
-
setOrganizationIdBytes
public Data.ConfigureDatabaseUserRequest.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value) string organization_id = 1 [json_name = "organizationId"];
- Parameters:
value
- The bytes for organizationId to set.- Returns:
- This builder for chaining.
-
getPassword
string password = 2 [json_name = "password"];
- Specified by:
getPassword
in interfaceData.ConfigureDatabaseUserRequestOrBuilder
- Returns:
- The password.
-
getPasswordBytes
public com.google.protobuf.ByteString getPasswordBytes()string password = 2 [json_name = "password"];
- Specified by:
getPasswordBytes
in interfaceData.ConfigureDatabaseUserRequestOrBuilder
- Returns:
- The bytes for password.
-
setPassword
string password = 2 [json_name = "password"];
- Parameters:
value
- The password to set.- Returns:
- This builder for chaining.
-
clearPassword
string password = 2 [json_name = "password"];
- Returns:
- This builder for chaining.
-
setPasswordBytes
public Data.ConfigureDatabaseUserRequest.Builder setPasswordBytes(com.google.protobuf.ByteString value) string password = 2 [json_name = "password"];
- Parameters:
value
- The bytes for password to set.- Returns:
- This builder for chaining.
-