public final class Actor extends 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
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,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 |
|
USERNAME_FIELD_NUMBER
public static final int USERNAME_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() (deprecated)
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];
| Returns |
| Type |
Description |
String |
The email.
|
getEmailBytes() (deprecated)
public 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];
| 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
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];
| Returns |
| Type |
Description |
String |
The username.
|
getUsernameBytes()
public 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];
| Returns |
| Type |
Description |
ByteString |
The bytes for username.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Actor.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Actor.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Actor.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides