Send feedback
Class Actor (0.18.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.18.0 keyboard_arrow_down
public final class Actor extends GeneratedMessageV3 implements ActorOrBuilder
An object containing information about the effective user and
authenticated principal responsible for an action.
Protobuf type google.cloud.support.v2.Actor
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value Type Description int
EMAIL_FIELD_NUMBER
public static final int EMAIL_FIELD_NUMBER
Field Value Type Description int
GOOGLE_SUPPORT_FIELD_NUMBER
public static final int GOOGLE_SUPPORT_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static Actor getDefaultInstance ()
Returns Type Description Actor
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Actor . Builder newBuilder ()
newBuilder(Actor prototype)
public static Actor . Builder newBuilder ( Actor prototype )
Parameter Name Description prototype
Actor
public static Actor parseDelimitedFrom ( InputStream input )
Returns Type Description Actor
public static Actor parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns Type Description Actor
parseFrom(byte[] data)
public static Actor parseFrom ( byte [] data )
Parameter Name Description data
byte []
Returns Type Description Actor
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Actor parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Returns Type Description Actor
parseFrom(ByteString data)
public static Actor parseFrom ( ByteString data )
Returns Type Description Actor
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Actor parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Returns Type Description Actor
public static Actor parseFrom ( CodedInputStream input )
Returns Type Description Actor
public static Actor parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Returns Type Description Actor
public static Actor parseFrom ( InputStream input )
Returns Type Description Actor
public static Actor parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns Type Description Actor
parseFrom(ByteBuffer data)
public static Actor parseFrom ( ByteBuffer data )
Returns Type Description Actor
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Actor parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Returns Type Description Actor
parser()
public static Parser<Actor> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getDefaultInstanceForType()
public Actor getDefaultInstanceForType ()
Returns Type Description Actor
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;
Returns Type Description String
The displayName.
getDisplayNameBytes()
public 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;
Returns Type Description ByteString
The bytes for displayName.
getEmail()
The email address of the actor. If not provided, it is inferred from
credentials supplied during case creation. If the authenticated principal
does not have an email address, one must be provided. When a name is
provided, an email must also be provided. This will be obfuscated if the
user is a Google Support agent.
string email = 2;
Returns Type Description String
The email.
getEmailBytes()
public ByteString getEmailBytes ()
The email address of the actor. If not provided, it is inferred from
credentials supplied during case creation. If the authenticated principal
does not have an email address, one must be provided. When a name is
provided, an email must also be provided. This will be obfuscated if the
user is a Google Support agent.
string email = 2;
Returns Type Description ByteString
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];
Returns Type Description boolean
The googleSupport.
getParserForType()
public Parser<Actor> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Actor . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Actor . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public Actor . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-23 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-23 UTC."],[],[]]