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 Type
    Method
    Description
     
     
     
    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.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    The email address of the service account that a service producer would use to access consumer resources.
    com.google.protobuf.ByteString
    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.
    com.google.protobuf.ByteString
    The unique and stable id of the service account.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    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.
    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, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ServiceIdentity.Builder>
    • clear

      public ServiceIdentity.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ServiceIdentity.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ServiceIdentity.Builder>
    • getDefaultInstanceForType

      public ServiceIdentity getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ServiceIdentity build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ServiceIdentity buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ServiceIdentity.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServiceIdentity.Builder>
    • mergeFrom

      public ServiceIdentity.Builder mergeFrom(ServiceIdentity other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServiceIdentity.Builder>
      Throws:
      IOException
    • getEmail

      public String getEmail()
       The email address of the service account that a service producer would use
       to access consumer resources.
       
      string email = 1;
      Specified by:
      getEmail in interface ServiceIdentityOrBuilder
      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:
      getEmailBytes in interface ServiceIdentityOrBuilder
      Returns:
      The bytes for email.
    • setEmail

      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;
      Parameters:
      value - The email to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setEmailBytes

      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;
      Parameters:
      value - The bytes for email to set.
      Returns:
      This builder for chaining.
    • 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;
      Specified by:
      getUniqueId in interface ServiceIdentityOrBuilder
      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:
      getUniqueIdBytes in interface ServiceIdentityOrBuilder
      Returns:
      The bytes for uniqueId.
    • setUniqueId

      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;
      Parameters:
      value - The uniqueId to set.
      Returns:
      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:
      This builder for chaining.
    • setUniqueIdBytes

      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;
      Parameters:
      value - The bytes for uniqueId to set.
      Returns:
      This builder for chaining.