- 0.48.0 (latest)
- 0.47.0
- 0.46.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class Actor.Builder extends GeneratedMessageV3.Builder<Actor.Builder> 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.v2.Actor
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Actor.BuilderImplements
ActorOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Actor.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Actor.Builder |
build()
public Actor build()
Returns | |
---|---|
Type | Description |
Actor |
buildPartial()
public Actor buildPartial()
Returns | |
---|---|
Type | Description |
Actor |
clear()
public Actor.Builder clear()
Returns | |
---|---|
Type | Description |
Actor.Builder |
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;
Returns | |
---|---|
Type | Description |
Actor.Builder |
This builder for chaining. |
clearEmail() (deprecated)
public Actor.Builder clearEmail()
Deprecated. google.cloud.support.v2.Actor.email is deprecated. See google/cloud/support/v2/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 field instead.
string email = 2 [deprecated = true];
Returns | |
---|---|
Type | Description |
Actor.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Actor.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Actor.Builder |
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];
Returns | |
---|---|
Type | Description |
Actor.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Actor.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Actor.Builder |
clearUsername()
public Actor.Builder clearUsername()
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 |
Actor.Builder |
This builder for chaining. |
clone()
public Actor.Builder clone()
Returns | |
---|---|
Type | Description |
Actor.Builder |
getDefaultInstanceForType()
public Actor getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Actor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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)
public String getEmail()
Deprecated. google.cloud.support.v2.Actor.email is deprecated. See google/cloud/support/v2/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 field instead.
string email = 2 [deprecated = true];
Returns | |
---|---|
Type | Description |
String |
The email. |
getEmailBytes() (deprecated)
public ByteString getEmailBytes()
Deprecated. google.cloud.support.v2.Actor.email is deprecated. See google/cloud/support/v2/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 field 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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Actor other)
public Actor.Builder mergeFrom(Actor other)
Parameter | |
---|---|
Name | Description |
other |
Actor |
Returns | |
---|---|
Type | Description |
Actor.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Actor.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Actor.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Actor.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Actor.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Actor.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Actor.Builder |
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. |
Returns | |
---|---|
Type | Description |
Actor.Builder |
This builder for chaining. |
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. |
Returns | |
---|---|
Type | Description |
Actor.Builder |
This builder for chaining. |
setEmail(String value) (deprecated)
public Actor.Builder setEmail(String value)
Deprecated. google.cloud.support.v2.Actor.email is deprecated. See google/cloud/support/v2/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 field instead.
string email = 2 [deprecated = true];
Parameter | |
---|---|
Name | Description |
value |
String The email to set. |
Returns | |
---|---|
Type | Description |
Actor.Builder |
This builder for chaining. |
setEmailBytes(ByteString value) (deprecated)
public Actor.Builder setEmailBytes(ByteString value)
Deprecated. google.cloud.support.v2.Actor.email is deprecated. See google/cloud/support/v2/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 field instead.
string email = 2 [deprecated = true];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for email to set. |
Returns | |
---|---|
Type | Description |
Actor.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Actor.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Actor.Builder |
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. |
Returns | |
---|---|
Type | Description |
Actor.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Actor.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Actor.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Actor.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Actor.Builder |
setUsername(String value)
public Actor.Builder setUsername(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The username to set. |
Returns | |
---|---|
Type | Description |
Actor.Builder |
This builder for chaining. |
setUsernameBytes(ByteString value)
public Actor.Builder setUsernameBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for username to set. |
Returns | |
---|---|
Type | Description |
Actor.Builder |
This builder for chaining. |