public static final class ServiceIdentity.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ServiceIdentity.Builder> implements ServiceIdentityOrBuilder
Service identity for a service. This is the identity that service producer should use to access consumer resources.Protobuf type
google.api.serviceusage.v1beta1.ServiceIdentity| Modifier and Type | Method and Description |
|---|---|
ServiceIdentity.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ServiceIdentity |
build() |
ServiceIdentity |
buildPartial() |
ServiceIdentity.Builder |
clear() |
ServiceIdentity.Builder |
clearEmail()
The email address of the service account that a service producer would use
to access consumer resources.
|
ServiceIdentity.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ServiceIdentity.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ServiceIdentity.Builder |
clearUniqueId()
The unique and stable id of the service account.
|
ServiceIdentity.Builder |
clone() |
ServiceIdentity |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEmail()
The email address of the service account that a service producer would use
to access consumer resources.
|
com.google.protobuf.ByteString |
getEmailBytes()
The email address of the service account that a service producer would use
to access consumer resources.
|
String |
getUniqueId()
The unique and stable id of the service account.
|
com.google.protobuf.ByteString |
getUniqueIdBytes()
The unique and stable id of the service account.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ServiceIdentity.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServiceIdentity.Builder |
mergeFrom(com.google.protobuf.Message other) |
ServiceIdentity.Builder |
mergeFrom(ServiceIdentity other) |
ServiceIdentity.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ServiceIdentity.Builder |
setEmail(String value)
The email address of the service account that a service producer would use
to access consumer resources.
|
ServiceIdentity.Builder |
setEmailBytes(com.google.protobuf.ByteString value)
The email address of the service account that a service producer would use
to access consumer resources.
|
ServiceIdentity.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ServiceIdentity.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ServiceIdentity.Builder |
setUniqueId(String value)
The unique and stable id of the service account.
|
ServiceIdentity.Builder |
setUniqueIdBytes(com.google.protobuf.ByteString value)
The unique and stable id of the service account.
|
ServiceIdentity.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceIdentity.Builder>public ServiceIdentity.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceIdentity.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceIdentity.Builder>public ServiceIdentity getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ServiceIdentity build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ServiceIdentity buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ServiceIdentity.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceIdentity.Builder>public ServiceIdentity.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceIdentity.Builder>public ServiceIdentity.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceIdentity.Builder>public ServiceIdentity.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceIdentity.Builder>public ServiceIdentity.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceIdentity.Builder>public ServiceIdentity.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceIdentity.Builder>public ServiceIdentity.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServiceIdentity.Builder>public ServiceIdentity.Builder mergeFrom(ServiceIdentity other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceIdentity.Builder>public ServiceIdentity.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServiceIdentity.Builder>IOExceptionpublic String getEmail()
The email address of the service account that a service producer would use to access consumer resources.
string email = 1;getEmail in interface ServiceIdentityOrBuilderpublic com.google.protobuf.ByteString getEmailBytes()
The email address of the service account that a service producer would use to access consumer resources.
string email = 1;getEmailBytes in interface ServiceIdentityOrBuilderpublic 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;value - The email to set.public ServiceIdentity.Builder clearEmail()
The email address of the service account that a service producer would use to access consumer resources.
string email = 1;public ServiceIdentity.Builder setEmailBytes(com.google.protobuf.ByteString value)
The email address of the service account that a service producer would use to access consumer resources.
string email = 1;value - The bytes for email to set.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;getUniqueId in interface ServiceIdentityOrBuilderpublic com.google.protobuf.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;getUniqueIdBytes in interface ServiceIdentityOrBuilderpublic 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;value - The uniqueId to set.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;public ServiceIdentity.Builder setUniqueIdBytes(com.google.protobuf.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;value - The bytes for uniqueId to set.public final ServiceIdentity.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceIdentity.Builder>public final ServiceIdentity.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceIdentity.Builder>Copyright © 2022 Google LLC. All rights reserved.