public static final class SqlUsersGetRequest.Builder extends GeneratedMessage.Builder<SqlUsersGetRequest.Builder> implements SqlUsersGetRequestOrBuilderRequest message for Users Get RPC
Protobuf type google.cloud.sql.v1.SqlUsersGetRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SqlUsersGetRequest.BuilderImplements
SqlUsersGetRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SqlUsersGetRequest build()| Returns | |
|---|---|
| Type | Description |
SqlUsersGetRequest |
|
buildPartial()
public SqlUsersGetRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
SqlUsersGetRequest |
|
clear()
public SqlUsersGetRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
SqlUsersGetRequest.Builder |
|
clearHost()
public SqlUsersGetRequest.Builder clearHost()Host of a user of the instance.
string host = 4;
| Returns | |
|---|---|
| Type | Description |
SqlUsersGetRequest.Builder |
This builder for chaining. |
clearInstance()
public SqlUsersGetRequest.Builder clearInstance()Database instance ID. This does not include the project ID.
string instance = 1;
| Returns | |
|---|---|
| Type | Description |
SqlUsersGetRequest.Builder |
This builder for chaining. |
clearName()
public SqlUsersGetRequest.Builder clearName()User of the instance.
string name = 2;
| Returns | |
|---|---|
| Type | Description |
SqlUsersGetRequest.Builder |
This builder for chaining. |
clearProject()
public SqlUsersGetRequest.Builder clearProject()Project ID of the project that contains the instance.
string project = 3;
| Returns | |
|---|---|
| Type | Description |
SqlUsersGetRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public SqlUsersGetRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SqlUsersGetRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHost()
public String getHost()Host of a user of the instance.
string host = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The host. |
getHostBytes()
public ByteString getHostBytes()Host of a user of the instance.
string host = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for host. |
getInstance()
public String getInstance()Database instance ID. This does not include the project ID.
string instance = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The instance. |
getInstanceBytes()
public ByteString getInstanceBytes()Database instance ID. This does not include the project ID.
string instance = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for instance. |
getName()
public String getName()User of the instance.
string name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()User of the instance.
string name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getProject()
public String getProject()Project ID of the project that contains the instance.
string project = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The project. |
getProjectBytes()
public ByteString getProjectBytes()Project ID of the project that contains the instance.
string project = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for project. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SqlUsersGetRequest other)
public SqlUsersGetRequest.Builder mergeFrom(SqlUsersGetRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
SqlUsersGetRequest |
| Returns | |
|---|---|
| Type | Description |
SqlUsersGetRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SqlUsersGetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SqlUsersGetRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SqlUsersGetRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SqlUsersGetRequest.Builder |
|
setHost(String value)
public SqlUsersGetRequest.Builder setHost(String value)Host of a user of the instance.
string host = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe host to set. |
| Returns | |
|---|---|
| Type | Description |
SqlUsersGetRequest.Builder |
This builder for chaining. |
setHostBytes(ByteString value)
public SqlUsersGetRequest.Builder setHostBytes(ByteString value)Host of a user of the instance.
string host = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for host to set. |
| Returns | |
|---|---|
| Type | Description |
SqlUsersGetRequest.Builder |
This builder for chaining. |
setInstance(String value)
public SqlUsersGetRequest.Builder setInstance(String value)Database instance ID. This does not include the project ID.
string instance = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe instance to set. |
| Returns | |
|---|---|
| Type | Description |
SqlUsersGetRequest.Builder |
This builder for chaining. |
setInstanceBytes(ByteString value)
public SqlUsersGetRequest.Builder setInstanceBytes(ByteString value)Database instance ID. This does not include the project ID.
string instance = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for instance to set. |
| Returns | |
|---|---|
| Type | Description |
SqlUsersGetRequest.Builder |
This builder for chaining. |
setName(String value)
public SqlUsersGetRequest.Builder setName(String value)User of the instance.
string name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
SqlUsersGetRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public SqlUsersGetRequest.Builder setNameBytes(ByteString value)User of the instance.
string name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
SqlUsersGetRequest.Builder |
This builder for chaining. |
setProject(String value)
public SqlUsersGetRequest.Builder setProject(String value)Project ID of the project that contains the instance.
string project = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe project to set. |
| Returns | |
|---|---|
| Type | Description |
SqlUsersGetRequest.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public SqlUsersGetRequest.Builder setProjectBytes(ByteString value)Project ID of the project that contains the instance.
string project = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for project to set. |
| Returns | |
|---|---|
| Type | Description |
SqlUsersGetRequest.Builder |
This builder for chaining. |