publicstaticfinalclass FindDirectMessageRequest.BuilderextendsGeneratedMessageV3.Builder<FindDirectMessageRequest.Builder>implementsFindDirectMessageRequestOrBuilder
A request to get direct message space based on the user resource.
Protobuf type google.chat.v1.FindDirectMessageRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicFindDirectMessageRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
publicFindDirectMessageRequestbuild()
buildPartial()
publicFindDirectMessageRequestbuildPartial()
clear()
publicFindDirectMessageRequest.Builderclear()
Overrides
clearField(Descriptors.FieldDescriptor field)
publicFindDirectMessageRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearName()
publicFindDirectMessageRequest.BuilderclearName()
Required. Resource name of the user to find direct message with.
Format: users/{user}, where {user} is either the id for the
person from the
People API, or the id for the
user
in the Directory API. For example, if the People API profile ID is
123456789, you can find a direct message with that person by using
users/123456789 as the name. When authenticated as a
user, you can
use the email as an alias for {user}. For example,
users/example@gmail.com where example@gmail.com is the email of the
Google Chat user.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
publicFindDirectMessageRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clone()
publicFindDirectMessageRequest.Builderclone()
Overrides
getDefaultInstanceForType()
publicFindDirectMessageRequestgetDefaultInstanceForType()
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getName()
Required. Resource name of the user to find direct message with.
Format: users/{user}, where {user} is either the id for the
person from the
People API, or the id for the
user
in the Directory API. For example, if the People API profile ID is
123456789, you can find a direct message with that person by using
users/123456789 as the name. When authenticated as a
user, you can
use the email as an alias for {user}. For example,
users/example@gmail.com where example@gmail.com is the email of the
Google Chat user.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The name.
|
getNameBytes()
publicByteStringgetNameBytes()
Required. Resource name of the user to find direct message with.
Format: users/{user}, where {user} is either the id for the
person from the
People API, or the id for the
user
in the Directory API. For example, if the People API profile ID is
123456789, you can find a direct message with that person by using
users/123456789 as the name. When authenticated as a
user, you can
use the email as an alias for {user}. For example,
users/example@gmail.com where example@gmail.com is the email of the
Google Chat user.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeFrom(FindDirectMessageRequest other)
publicFindDirectMessageRequest.BuildermergeFrom(FindDirectMessageRequestother)
publicFindDirectMessageRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicFindDirectMessageRequest.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalFindDirectMessageRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
publicFindDirectMessageRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setName(String value)
publicFindDirectMessageRequest.BuildersetName(Stringvalue)
Required. Resource name of the user to find direct message with.
Format: users/{user}, where {user} is either the id for the
person from the
People API, or the id for the
user
in the Directory API. For example, if the People API profile ID is
123456789, you can find a direct message with that person by using
users/123456789 as the name. When authenticated as a
user, you can
use the email as an alias for {user}. For example,
users/example@gmail.com where example@gmail.com is the email of the
Google Chat user.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
String
The name to set.
|
setNameBytes(ByteString value)
publicFindDirectMessageRequest.BuildersetNameBytes(ByteStringvalue)
Required. Resource name of the user to find direct message with.
Format: users/{user}, where {user} is either the id for the
person from the
People API, or the id for the
user
in the Directory API. For example, if the People API profile ID is
123456789, you can find a direct message with that person by using
users/123456789 as the name. When authenticated as a
user, you can
use the email as an alias for {user}. For example,
users/example@gmail.com where example@gmail.com is the email of the
Google Chat user.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicFindDirectMessageRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalFindDirectMessageRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides