Class ServiceIdentity.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ServiceIdentity.Builder>
com.google.api.serviceusage.v1beta1.ServiceIdentity.Builder
- All Implemented Interfaces:
ServiceIdentityOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ServiceIdentity
public static final class ServiceIdentity.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The email address of the service account that a service producer would use to access consumer resources.The unique and stable id of the service account.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEmail()The email address of the service account that a service producer would use to access consumer resources.com.google.protobuf.ByteStringThe email address of the service account that a service producer would use to access consumer resources.The unique and stable id of the service account.com.google.protobuf.ByteStringThe unique and stable id of the service account.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ServiceIdentity other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The email address of the service account that a service producer would use to access consumer resources.setEmailBytes(com.google.protobuf.ByteString value) The email address of the service account that a service producer would use to access consumer resources.setUniqueId(String value) The unique and stable id of the service account.setUniqueIdBytes(com.google.protobuf.ByteString value) The unique and stable id of the service account.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ServiceIdentity.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ServiceIdentity.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ServiceIdentity.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ServiceIdentity.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ServiceIdentity.Builder>
-
mergeFrom
public ServiceIdentity.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ServiceIdentity.Builder>- Throws:
IOException
-
getEmail
The email address of the service account that a service producer would use to access consumer resources.
string email = 1;- Specified by:
getEmailin interfaceServiceIdentityOrBuilder- Returns:
- The email.
-
getEmailBytes
public 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;- Specified by:
getEmailBytesin interfaceServiceIdentityOrBuilder- Returns:
- The bytes for email.
-
setEmail
The email address of the service account that a service producer would use to access consumer resources.
string email = 1;- Parameters:
value- The email to set.- Returns:
- This builder for chaining.
-
clearEmail
The email address of the service account that a service producer would use to access consumer resources.
string email = 1;- Returns:
- This builder for chaining.
-
setEmailBytes
The email address of the service account that a service producer would use to access consumer resources.
string email = 1;- Parameters:
value- The bytes for email to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getUniqueIdin interfaceServiceIdentityOrBuilder- Returns:
- The uniqueId.
-
getUniqueIdBytes
public 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;- Specified by:
getUniqueIdBytesin interfaceServiceIdentityOrBuilder- Returns:
- The bytes for uniqueId.
-
setUniqueId
The unique and stable id of the service account. https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts#ServiceAccount
string unique_id = 2;- Parameters:
value- The uniqueId to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setUniqueIdBytes
The unique and stable id of the service account. https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts#ServiceAccount
string unique_id = 2;- Parameters:
value- The bytes for uniqueId to set.- Returns:
- This builder for chaining.
-