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)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Actor.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides