Class Actor

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.support.v2beta.Actor
All Implemented Interfaces:
ActorOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Actor extends com.google.protobuf.GeneratedMessage implements ActorOrBuilder
 An Actor represents an entity that performed an action. For example, an actor
 could be a user who posted a comment on a support case, a user who
 uploaded an attachment, or a service account that created a support case.
 
Protobuf type google.cloud.support.v2beta.Actor
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    An Actor represents an entity that performed an action.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    static Actor
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    The name to display for the actor.
    com.google.protobuf.ByteString
    The name to display for the actor.
    Deprecated.
    google.cloud.support.v2beta.Actor.email is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    google.cloud.support.v2beta.Actor.email is deprecated.
    boolean
    Output only.
    com.google.protobuf.Parser<Actor>
     
    int
     
    Output only.
    com.google.protobuf.ByteString
    Output only.
    int
     
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(Actor prototype)
     
     
    protected Actor.Builder
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static Actor
     
    static Actor
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Actor
    parseFrom(byte[] data)
     
    static Actor
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Actor
    parseFrom(com.google.protobuf.ByteString data)
     
    static Actor
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Actor
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static Actor
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Actor
     
    static Actor
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Actor
     
    static Actor
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Actor>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • DISPLAY_NAME_FIELD_NUMBER

      public static final int DISPLAY_NAME_FIELD_NUMBER
      See Also:
    • EMAIL_FIELD_NUMBER

      public static final int EMAIL_FIELD_NUMBER
      See Also:
    • GOOGLE_SUPPORT_FIELD_NUMBER

      public static final int GOOGLE_SUPPORT_FIELD_NUMBER
      See Also:
    • USERNAME_FIELD_NUMBER

      public static final int USERNAME_FIELD_NUMBER
      See Also:
  • 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
    • getDisplayName

      public String getDisplayName()
       The name to display for the actor. If not provided, it is inferred from
       credentials supplied during case creation. When an email is provided, a
       display name must also be provided. This will be obfuscated if the user
       is a Google Support agent.
       
      string display_name = 1;
      Specified by:
      getDisplayName in interface ActorOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       The name to display for the actor. If not provided, it is inferred from
       credentials supplied during case creation. When an email is provided, a
       display name must also be provided. This will be obfuscated if the user
       is a Google Support agent.
       
      string display_name = 1;
      Specified by:
      getDisplayNameBytes in interface ActorOrBuilder
      Returns:
      The bytes for displayName.
    • getEmail

      @Deprecated public String getEmail()
      Deprecated.
      google.cloud.support.v2beta.Actor.email is deprecated. See google/cloud/support/v2beta/actor.proto;l=44
       The email address of the actor. If not provided, it is inferred from the
       credentials supplied during case creation. When a name is provided, an
       email must also be provided. If the user is a Google Support agent, this is
       obfuscated.
      
       This field is deprecated. Use `username` instead.
       
      string email = 2 [deprecated = true];
      Specified by:
      getEmail in interface ActorOrBuilder
      Returns:
      The email.
    • getEmailBytes

      @Deprecated public com.google.protobuf.ByteString getEmailBytes()
      Deprecated.
      google.cloud.support.v2beta.Actor.email is deprecated. See google/cloud/support/v2beta/actor.proto;l=44
       The email address of the actor. If not provided, it is inferred from the
       credentials supplied during case creation. When a name is provided, an
       email must also be provided. If the user is a Google Support agent, this is
       obfuscated.
      
       This field is deprecated. Use `username` instead.
       
      string email = 2 [deprecated = true];
      Specified by:
      getEmailBytes in interface ActorOrBuilder
      Returns:
      The bytes for email.
    • getGoogleSupport

      public boolean getGoogleSupport()
       Output only. Whether the actor is a Google support actor.
       
      bool google_support = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getGoogleSupport in interface ActorOrBuilder
      Returns:
      The googleSupport.
    • getUsername

      public String getUsername()
       Output only. The username of the actor. It may look like an email or other
       format provided by the identity provider. If not provided, it is inferred
       from the credentials supplied. When a name is provided, a username must
       also be provided. If the user is a Google Support agent, this will not be
       set.
       
      string username = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUsername in interface ActorOrBuilder
      Returns:
      The username.
    • getUsernameBytes

      public com.google.protobuf.ByteString getUsernameBytes()
       Output only. The username of the actor. It may look like an email or other
       format provided by the identity provider. If not provided, it is inferred
       from the credentials supplied. When a name is provided, a username must
       also be provided. If the user is a Google Support agent, this will not be
       set.
       
      string username = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUsernameBytes in interface ActorOrBuilder
      Returns:
      The bytes for username.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Actor parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Actor parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Actor parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Actor parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Actor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Actor parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Actor parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Actor parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Actor parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Actor parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Actor parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Actor parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Actor.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Actor.Builder newBuilder()
    • newBuilder

      public static Actor.Builder newBuilder(Actor prototype)
    • toBuilder

      public Actor.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Actor.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Actor getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Actor> parser()
    • getParserForType

      public com.google.protobuf.Parser<Actor> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Actor getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder