public static final class Actor.Builder extends GeneratedMessageV3.Builder<Actor.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Actor.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
Returns |
---|
Type | Description |
Actor | |
buildPartial()
public Actor buildPartial()
Returns |
---|
Type | Description |
Actor | |
clear()
public Actor.Builder clear()
Overrides
clearDisplayName()
public Actor.Builder clearDisplayName()
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;
clearEmail()
public Actor.Builder clearEmail()
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;
clearField(Descriptors.FieldDescriptor field)
public Actor.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGoogleSupport()
public Actor.Builder clearGoogleSupport()
Output only. Whether the actor is a Google support actor.
bool google_support = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearOneof(Descriptors.OneofDescriptor oneof)
public Actor.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Actor.Builder clone()
Overrides
getDefaultInstanceForType()
public Actor getDefaultInstanceForType()
Returns |
---|
Type | Description |
Actor | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Actor other)
public Actor.Builder mergeFrom(Actor other)
Parameter |
---|
Name | Description |
other | Actor
|
public Actor.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Actor.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Actor.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDisplayName(String value)
public Actor.Builder setDisplayName(String value)
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;
Parameter |
---|
Name | Description |
value | String
The displayName to set.
|
setDisplayNameBytes(ByteString value)
public Actor.Builder setDisplayNameBytes(ByteString value)
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;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for displayName to set.
|
setEmail(String value)
public Actor.Builder setEmail(String value)
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;
Parameter |
---|
Name | Description |
value | String
The email to set.
|
setEmailBytes(ByteString value)
public Actor.Builder setEmailBytes(ByteString value)
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;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for email to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Actor.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGoogleSupport(boolean value)
public Actor.Builder setGoogleSupport(boolean value)
Output only. Whether the actor is a Google support actor.
bool google_support = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
value | boolean
The googleSupport to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Actor.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Actor.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides