public static final class ServiceIdentity.Builder extends GeneratedMessage.Builder<ServiceIdentity.Builder> implements ServiceIdentityOrBuilderService identity for a service. This is the identity that service producer should use to access consumer resources.
Protobuf type google.api.serviceusage.v1beta1.ServiceIdentity
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ServiceIdentity.BuilderImplements
ServiceIdentityOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ServiceIdentity build()| Returns | |
|---|---|
| Type | Description |
ServiceIdentity |
|
buildPartial()
public ServiceIdentity buildPartial()| Returns | |
|---|---|
| Type | Description |
ServiceIdentity |
|
clear()
public ServiceIdentity.Builder clear()| Returns | |
|---|---|
| Type | Description |
ServiceIdentity.Builder |
|
clearEmail()
public ServiceIdentity.Builder clearEmail()The email address of the service account that a service producer would use to access consumer resources.
string email = 1;
| Returns | |
|---|---|
| Type | Description |
ServiceIdentity.Builder |
This builder for chaining. |
clearUniqueId()
public ServiceIdentity.Builder clearUniqueId()The unique and stable id of the service account. https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts#ServiceAccount
string unique_id = 2;
| Returns | |
|---|---|
| Type | Description |
ServiceIdentity.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ServiceIdentity getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ServiceIdentity |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEmail()
public String getEmail()The email address of the service account that a service producer would use to access consumer resources.
string email = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The email. |
getEmailBytes()
public ByteString getEmailBytes()The email address of the service account that a service producer would use to access consumer resources.
string email = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for email. |
getUniqueId()
public String getUniqueId()The unique and stable id of the service account. https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts#ServiceAccount
string unique_id = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The uniqueId. |
getUniqueIdBytes()
public ByteString getUniqueIdBytes()The unique and stable id of the service account. https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts#ServiceAccount
string unique_id = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for uniqueId. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ServiceIdentity other)
public ServiceIdentity.Builder mergeFrom(ServiceIdentity other)| Parameter | |
|---|---|
| Name | Description |
other |
ServiceIdentity |
| Returns | |
|---|---|
| Type | Description |
ServiceIdentity.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ServiceIdentity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ServiceIdentity.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ServiceIdentity.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ServiceIdentity.Builder |
|
setEmail(String value)
public ServiceIdentity.Builder setEmail(String value)The email address of the service account that a service producer would use to access consumer resources.
string email = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe email to set. |
| Returns | |
|---|---|
| Type | Description |
ServiceIdentity.Builder |
This builder for chaining. |
setEmailBytes(ByteString value)
public ServiceIdentity.Builder setEmailBytes(ByteString value)The email address of the service account that a service producer would use to access consumer resources.
string email = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for email to set. |
| Returns | |
|---|---|
| Type | Description |
ServiceIdentity.Builder |
This builder for chaining. |
setUniqueId(String value)
public ServiceIdentity.Builder setUniqueId(String value)The unique and stable id of the service account. https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts#ServiceAccount
string unique_id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe uniqueId to set. |
| Returns | |
|---|---|
| Type | Description |
ServiceIdentity.Builder |
This builder for chaining. |
setUniqueIdBytes(ByteString value)
public ServiceIdentity.Builder setUniqueIdBytes(ByteString value)The unique and stable id of the service account. https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts#ServiceAccount
string unique_id = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for uniqueId to set. |
| Returns | |
|---|---|
| Type | Description |
ServiceIdentity.Builder |
This builder for chaining. |