/aosp_15_r20/external/googleapis/google/chat/v1/ |
H A D | chat_v1.yaml | 3 name: chat.googleapis.com 4 title: Google Chat API 7 - name: google.chat.v1.ChatService 11 The Google Chat API lets you build Chat apps to integrate your services 12 with Google Chat and manage Chat resources such as spaces, members, and 17 - selector: google.chat.v1.ChatService.CompleteImportSpace 20 https://www.googleapis.com/auth/chat.import 21 - selector: google.chat.v1.ChatService.CreateMembership 24 https://www.googleapis.com/auth/chat.import, 25 https://www.googleapis.com/auth/chat.memberships, [all …]
|
H A D | chat_service.proto | 17 package google.chat.v1; 21 import "google/chat/v1/attachment.proto"; 22 import "google/chat/v1/membership.proto"; 23 import "google/chat/v1/message.proto"; 24 import "google/chat/v1/reaction.proto"; 25 import "google/chat/v1/space.proto"; 26 import "google/chat/v1/space_read_state.proto"; 27 import "google/chat/v1/space_setup.proto"; 28 import "google/chat/v1/thread_read_state.proto"; 31 option csharp_namespace = "Google.Apps.Chat.V1"; [all …]
|
H A D | message.proto | 17 package google.chat.v1; 22 import "google/chat/v1/action_status.proto"; 23 import "google/chat/v1/annotation.proto"; 24 import "google/chat/v1/attachment.proto"; 25 import "google/chat/v1/contextual_addon.proto"; 26 import "google/chat/v1/deletion_metadata.proto"; 27 import "google/chat/v1/matched_url.proto"; 28 import "google/chat/v1/reaction.proto"; 29 import "google/chat/v1/slash_command.proto"; 30 import "google/chat/v1/space.proto"; [all …]
|
H A D | membership.proto | 17 package google.chat.v1; 21 import "google/chat/v1/group.proto"; 22 import "google/chat/v1/user.proto"; 26 option csharp_namespace = "Google.Apps.Chat.V1"; 27 option go_package = "cloud.google.com/go/chat/apiv1/chatpb;chatpb"; 30 option java_package = "com.google.chat.v1"; 31 option php_namespace = "Google\\Apps\\Chat\\V1"; 32 option ruby_package = "Google::Apps::Chat::V1"; 34 // Represents a membership relation in Google Chat, such as whether a user or 35 // Chat app is invited to, part of, or absent from a space. [all …]
|
H A D | chat_grpc_service_config.json | 4 { "service": "google.chat.v1.ChatService", "method": "CreateMessage" }, 5 { "service": "google.chat.v1.ChatService", "method": "UpdateMessage" }, 6 { "service": "google.chat.v1.ChatService", "method": "GetMessage" }, 7 { "service": "google.chat.v1.ChatService", "method": "ListMessages" }, 8 { "service": "google.chat.v1.ChatService", "method": "DeleteMessage" }, 9 { "service": "google.chat.v1.ChatService", "method": "CreateSpace" }, 10 { "service": "google.chat.v1.ChatService", "method": "SetUpSpace" }, 11 { "service": "google.chat.v1.ChatService", "method": "UpdateSpace" }, 12 { "service": "google.chat.v1.ChatService", "method": "GetSpace" }, 13 { "service": "google.chat.v1.ChatService", "method": "ListSpaces" }, [all …]
|
H A D | space.proto | 17 package google.chat.v1; 21 import "google/chat/v1/history_state.proto"; 25 option csharp_namespace = "Google.Apps.Chat.V1"; 26 option go_package = "cloud.google.com/go/chat/apiv1/chatpb;chatpb"; 29 option java_package = "com.google.chat.v1"; 30 option php_namespace = "Google\\Apps\\Chat\\V1"; 31 option ruby_package = "Google::Apps::Chat::V1"; 33 // A space in Google Chat. Spaces are conversations between two or more users 34 // or 1:1 messages between a user and a Chat app. 37 type: "chat.googleapis.com/Space" [all …]
|
H A D | user.proto | 17 package google.chat.v1; 22 option csharp_namespace = "Google.Apps.Chat.V1"; 23 option go_package = "cloud.google.com/go/chat/apiv1/chatpb;chatpb"; 26 option java_package = "com.google.chat.v1"; 27 option php_namespace = "Google\\Apps\\Chat\\V1"; 28 option ruby_package = "Google::Apps::Chat::V1"; 30 // A user in Google Chat. 31 // When returned as an output from a request, if your Chat app [authenticates as 33 // user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), 43 // Chat app user. [all …]
|
H A D | attachment.proto | 17 package google.chat.v1; 22 option csharp_namespace = "Google.Apps.Chat.V1"; 23 option go_package = "cloud.google.com/go/chat/apiv1/chatpb;chatpb"; 26 option java_package = "com.google.chat.v1"; 27 option php_namespace = "Google\\Apps\\Chat\\V1"; 28 option ruby_package = "Google::Apps::Chat::V1"; 30 // An attachment in Google Chat. 33 type: "chat.googleapis.com/Attachment" 45 // The file is uploaded to Chat. 71 // attachment to a human user. Chat apps shouldn't use this URL to download [all …]
|
H A D | widgets.proto | 17 package google.chat.v1; 19 option csharp_namespace = "Google.Apps.Chat.V1"; 20 option go_package = "cloud.google.com/go/chat/apiv1/chatpb;chatpb"; 23 option java_package = "com.google.chat.v1"; 24 option php_namespace = "Google\\Apps\\Chat\\V1"; 25 option ruby_package = "Google::Apps::Chat::V1"; 31 // [Formatting text in Google Chat 32 // apps](https://developers.google.com/workspace/chat/format-messages#card-formatting) 131 // An enum value that's replaced by the Chat API with the 141 // [Formatting text in Google Chat [all …]
|
/aosp_15_r20/developers/build/prebuilts/gradle/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/mock/ |
H A D | MockDatabase.java | 23 import com.example.android.wearable.wear.messaging.model.Chat; 57 * Creates a chat and stores it in the mock database 59 * @param participants of the chat 60 * @param user that has started the chat 61 * @return a chat with information attached to it 63 public static Chat createChat(Context context, Collection<Profile> participants, Profile user) { in createChat() 65 Log.d(TAG, String.format("Creating a new chat with %d participant(s)", size)); in createChat() 67 Chat chat = new Chat(); in createChat() local 69 // Initializes chat's last message to a blank String. in createChat() 72 chat.setLastMessage(message); in createChat() [all …]
|
/aosp_15_r20/developers/samples/android/deprecated/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/mock/ |
D | MockDatabase.java | 23 import com.example.android.wearable.wear.messaging.model.Chat; 57 * Creates a chat and stores it in the mock database 59 * @param participants of the chat 60 * @param user that has started the chat 61 * @return a chat with information attached to it 63 public static Chat createChat(Context context, Collection<Profile> participants, Profile user) { in createChat() 65 Log.d(TAG, String.format("Creating a new chat with %d participant(s)", size)); in createChat() 67 Chat chat = new Chat(); in createChat() local 69 // Initializes chat's last message to a blank String. in createChat() 72 chat.setLastMessage(message); in createChat() [all …]
|
/aosp_15_r20/external/googleapis/google/apps/card/v1/ |
H A D | card.proto | 29 // A card interface displayed in a Google Chat message or Google Workspace 41 // * For Google Chat apps, see [Design the components of a card or 42 // dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). 46 // **Example: Card message for a Google Chat app** 49 // card](https://developers.google.com/workspace/chat/images/card_api_reference.png) 51 // To create the sample card message in Google Chat, use the following JSON: 63 // "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png", 134 // Represents a card header. For an example in Google Chat apps, see [Add a 135 …// header](https://developers.google.com/workspace/chat/design-components-card-dialog#add_a_header… 137 // [Google Workspace Add-ons and Chat [all …]
|
/aosp_15_r20/external/googleapis/google/apps/events/subscriptions/v1/ |
H A D | workspaceevents_v1.yaml | 25 https://www.googleapis.com/auth/chat.memberships, 26 https://www.googleapis.com/auth/chat.memberships.readonly, 27 https://www.googleapis.com/auth/chat.messages, 28 https://www.googleapis.com/auth/chat.messages.reactions, 29 https://www.googleapis.com/auth/chat.messages.reactions.readonly, 30 https://www.googleapis.com/auth/chat.messages.readonly, 31 https://www.googleapis.com/auth/chat.spaces, 32 https://www.googleapis.com/auth/chat.spaces.readonly, 38 https://www.googleapis.com/auth/chat.bot, 39 https://www.googleapis.com/auth/chat.memberships, [all …]
|
/aosp_15_r20/external/libusb/tests/ |
H A D | umockdev.c | 88 UsbChat *chat; member 279 if (!fixture->chat || !fixture->chat->submit) in handle_ioctl_cb() 282 buflen = fixture->chat->buffer_length; in handle_ioctl_cb() 283 if (fixture->chat->type == USBDEVFS_URB_TYPE_CONTROL) in handle_ioctl_cb() 290 if (fixture->chat->type == urb->type && in handle_ioctl_cb() 291 fixture->chat->endpoint == urb->endpoint && in handle_ioctl_cb() 292 fixture->chat->buffer_length == urb->buffer_length && in handle_ioctl_cb() 293 …(fixture->chat->buffer == NULL || memcmp (fixture->chat->buffer, urb_buffer->data, buflen) == 0)) { in handle_ioctl_cb() 296 if (fixture->chat->reaps) in handle_ioctl_cb() 297 fixture->chat->reaps->submit_urb = urb_data; in handle_ioctl_cb() [all …]
|
/aosp_15_r20/developers/samples/android/deprecated/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/chatlist/ |
D | ChatListAdapter.java | 34 import com.example.android.wearable.wear.messaging.model.Chat; 42 * <p>If chat is empty, displays icon to start a new chat. Otherwise, activity displays the title of 43 * chat as first element followed by the rest of the conversation. 59 private final SortedList<Chat> mChats; 66 Chat.class, in ChatListAdapter() 67 new SortedList.Callback<Chat>() { in ChatListAdapter() 69 // Descending list based on chat's last message time. in ChatListAdapter() 71 public int compare(Chat chat1, Chat chat2) { in ChatListAdapter() 104 public boolean areContentsTheSame(Chat oldItem, Chat newItem) { in ChatListAdapter() 109 public boolean areItemsTheSame(Chat item1, Chat item2) { in ChatListAdapter() [all …]
|
D | ChatListActivity.java | 28 import com.example.android.wearable.wear.messaging.chat.ChatActivity; 31 import com.example.android.wearable.wear.messaging.model.Chat; 113 public void openChat(Chat chat) { in openChat() argument 115 startChat.putExtra(Constants.EXTRA_CHAT, chat); in openChat() 134 private class RetrieveChatsAsyncTask extends AsyncTask<Void, Void, Collection<Chat>> { 143 protected Collection<Chat> doInBackground(Void... params) { in doInBackground() 148 protected void onPostExecute(Collection<Chat> chats) { in onPostExecute() 154 private class CreateNewChatAsyncTask extends AsyncTask<Void, Void, Chat> { 167 protected Chat doInBackground(Void... params) { in doInBackground() 172 protected void onPostExecute(Chat chat) { in onPostExecute() argument [all …]
|
/aosp_15_r20/developers/build/prebuilts/gradle/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/chatlist/ |
H A D | ChatListAdapter.java | 34 import com.example.android.wearable.wear.messaging.model.Chat; 42 * <p>If chat is empty, displays icon to start a new chat. Otherwise, activity displays the title of 43 * chat as first element followed by the rest of the conversation. 59 private final SortedList<Chat> mChats; 66 Chat.class, in ChatListAdapter() 67 new SortedList.Callback<Chat>() { in ChatListAdapter() 69 // Descending list based on chat's last message time. in ChatListAdapter() 71 public int compare(Chat chat1, Chat chat2) { in ChatListAdapter() 104 public boolean areContentsTheSame(Chat oldItem, Chat newItem) { in ChatListAdapter() 109 public boolean areItemsTheSame(Chat item1, Chat item2) { in ChatListAdapter() [all …]
|
H A D | ChatListActivity.java | 28 import com.example.android.wearable.wear.messaging.chat.ChatActivity; 31 import com.example.android.wearable.wear.messaging.model.Chat; 113 public void openChat(Chat chat) { in openChat() argument 115 startChat.putExtra(Constants.EXTRA_CHAT, chat); in openChat() 134 private class RetrieveChatsAsyncTask extends AsyncTask<Void, Void, Collection<Chat>> { 143 protected Collection<Chat> doInBackground(Void... params) { in doInBackground() 148 protected void onPostExecute(Collection<Chat> chats) { in onPostExecute() 154 private class CreateNewChatAsyncTask extends AsyncTask<Void, Void, Chat> { 167 protected Chat doInBackground(Void... params) { in doInBackground() 172 protected void onPostExecute(Chat chat) { in onPostExecute() argument [all …]
|
/aosp_15_r20/developers/samples/android/deprecated/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/model/ |
D | Chat.java | 24 /** Data representation of a chat. */ 25 public class Chat implements Parcelable { class 36 public Chat() { in Chat() method in Chat 40 public Chat(String id) { in Chat() method in Chat 73 * Sets the participants and adds an alias. The alias is displayed in the chat list. 75 * @param participants chat participants 85 * @param participants chat participants 86 * @param alias chat alias 146 protected Chat(Parcel in) { in Chat() method in Chat 172 public static final Parcelable.Creator<Chat> CREATOR = [all …]
|
/aosp_15_r20/developers/build/prebuilts/gradle/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/model/ |
H A D | Chat.java | 24 /** Data representation of a chat. */ 25 public class Chat implements Parcelable { class 36 public Chat() { in Chat() method in Chat 40 public Chat(String id) { in Chat() method in Chat 73 * Sets the participants and adds an alias. The alias is displayed in the chat list. 75 * @param participants chat participants 85 * @param participants chat participants 86 * @param alias chat alias 146 protected Chat(Parcel in) { in Chat() method in Chat 172 public static final Parcelable.Creator<Chat> CREATOR = [all …]
|
/aosp_15_r20/external/aws-sdk-java-v2/services/ivschat/src/main/resources/codegen-resources/ |
H A D | service-2.json | 9 "serviceFullName":"Amazon Interactive Video Service Chat", 31 …chat participant to establish an individual WebSocket chat connection to a room. When the token is… 104 …chat history. This event’s <code>EventName</code> is <code>aws:DELETE_MESSAGE</code>. This replica… 138 …r-publish.html\"> DisconnectUser</a> WebSocket operation in the Amazon IVS Chat Messaging API.</p>" 235 …vents to clients of a room; e.g., to notify clients to change the way the chat UI is rendered.</p>" 354 …"documentation":"<p>Name of the Amazon Cloudwatch Logs destination where chat activity will be log… 357 "documentation":"<p>Specifies a CloudWatch Logs location where chat logs will be stored.</p>" 393 …>Application-provided attributes to encode into the token and attach to a chat session. Map keys a… 436 …n":"<p>A complex type that contains a destination configuration for where chat content will be log… 444 …that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS Chat has no constraints … [all …]
|
/aosp_15_r20/developers/samples/android/deprecated/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/chat/ |
D | MockIncomingMessageReceiver.java | 16 package com.example.android.wearable.wear.messaging.chat; 31 import com.example.android.wearable.wear.messaging.model.Chat; 60 Chat chat = MockDatabase.findChatById(context, chatId); in onReceive() local 61 if (chat == null) { in onReceive() 62 Log.e(TAG, "Could not find chat with id " + chatId); in onReceive() 68 Log.d(TAG, "No message found in chat with id " + messageId); in onReceive() 72 mockReply(context, chat, message); in onReceive() 75 private void mockReply(Context context, Chat chat, Message message) { in mockReply() argument 77 String replierId = chat.getParticipants().keySet().iterator().next(); in mockReply() 91 MockDatabase.saveMessage(context, chat, replyMessage); in mockReply() [all …]
|
/aosp_15_r20/developers/build/prebuilts/gradle/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/chat/ |
H A D | MockIncomingMessageReceiver.java | 16 package com.example.android.wearable.wear.messaging.chat; 31 import com.example.android.wearable.wear.messaging.model.Chat; 60 Chat chat = MockDatabase.findChatById(context, chatId); in onReceive() local 61 if (chat == null) { in onReceive() 62 Log.e(TAG, "Could not find chat with id " + chatId); in onReceive() 68 Log.d(TAG, "No message found in chat with id " + messageId); in onReceive() 72 mockReply(context, chat, message); in onReceive() 75 private void mockReply(Context context, Chat chat, Message message) { in mockReply() argument 77 String replierId = chat.getParticipants().keySet().iterator().next(); in mockReply() 91 MockDatabase.saveMessage(context, chat, replyMessage); in mockReply() [all …]
|
/aosp_15_r20/external/python/google-api-python-client/docs/dyn/ |
D | youtube_v3.liveChatMessages.html | 82 <p class="firstline">Deletes a chat message.</p> 100 <pre>Deletes a chat message. 120 { # A *liveChatMessage* resource represents a chat message in a YouTube Live Chat. 125 … "isChatModerator": True or False, # Whether the author is a moderator of the live chat. 126 "isChatOwner": True or False, # Whether the author is the owner of the live chat. 127 "isChatSponsor": True or False, # Whether the author is a sponsor of the live chat. 145 …"memberMilestoneChatDetails": { # Details about the Member Milestone Chat event, this is… 147 … up) the viewer has been a member that granted them this Member Milestone Chat. This is the same n… 148 … String", # The comment added by the member to this Member Milestone Chat. This field is empt… 161 …"superChatDetails": { # Details about the Super Chat event, this is only set if the type… [all …]
|
/aosp_15_r20/developers/samples/android/notification/Bubbles/app/src/main/java/com/example/android/bubbles/data/ |
D | ChatRepository.kt | 59 contact.id to Chat(contact) in contact() 82 val chat = chats.getValue(id) in findMessages() constant 90 value = chat.messages in findMessages() 91 chat.addListener(listener) in findMessages() 95 chat.removeListener(listener) in findMessages() 102 val chat = chats.getValue(id) in sendMessage() constant 103 chat.addMessage(Message.Builder().apply { in sendMessage() 112 chat.addMessage(chat.contact.reply(text)) in sendMessage() 113 // Show notification if the chat is not on the foreground. in sendMessage() 114 if (chat.contact.id != currentChat) { in sendMessage() [all …]
|