From 1e77bd5202baab9f4f1cd08529e8b79c45aec56c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 12 Dec 2019 10:33:35 -0800 Subject: [PATCH] docs(regen): javadoc proto class changes from protoc update (#33) --- .../com/google/cloud/dialogflow/v2/Agent.java | 256 +- .../google/cloud/dialogflow/v2/AgentName.java | 2 +- .../cloud/dialogflow/v2/AgentOrBuilder.java | 50 + .../cloud/dialogflow/v2/AgentProto.java | 32 +- .../cloud/dialogflow/v2/AudioConfigProto.java | 26 +- .../cloud/dialogflow/v2/AudioEncoding.java | 10 +- .../v2/BatchCreateEntitiesRequest.java | 65 +- .../BatchCreateEntitiesRequestOrBuilder.java | 8 + .../v2/BatchDeleteEntitiesRequest.java | 96 +- .../BatchDeleteEntitiesRequestOrBuilder.java | 18 + .../v2/BatchDeleteEntityTypesRequest.java | 80 +- ...atchDeleteEntityTypesRequestOrBuilder.java | 14 + .../v2/BatchDeleteIntentsRequest.java | 49 +- .../BatchDeleteIntentsRequestOrBuilder.java | 4 + .../v2/BatchUpdateEntitiesRequest.java | 73 +- .../BatchUpdateEntitiesRequestOrBuilder.java | 12 + .../v2/BatchUpdateEntityTypesRequest.java | 82 +- ...atchUpdateEntityTypesRequestOrBuilder.java | 20 + .../v2/BatchUpdateEntityTypesResponse.java | 6 + .../v2/BatchUpdateIntentsRequest.java | 98 +- .../BatchUpdateIntentsRequestOrBuilder.java | 24 + .../v2/BatchUpdateIntentsResponse.java | 6 + .../google/cloud/dialogflow/v2/Context.java | 40 +- .../cloud/dialogflow/v2/ContextName.java | 2 +- .../cloud/dialogflow/v2/ContextOrBuilder.java | 10 + .../cloud/dialogflow/v2/ContextProto.java | 32 +- .../dialogflow/v2/CreateContextRequest.java | 31 +- .../v2/CreateContextRequestOrBuilder.java | 8 + .../v2/CreateEntityTypeRequest.java | 47 +- .../v2/CreateEntityTypeRequestOrBuilder.java | 12 + .../dialogflow/v2/CreateIntentRequest.java | 63 +- .../v2/CreateIntentRequestOrBuilder.java | 16 + .../v2/CreateSessionEntityTypeRequest.java | 31 +- ...eateSessionEntityTypeRequestOrBuilder.java | 8 + .../dialogflow/v2/DeleteAgentRequest.java | 23 +- .../v2/DeleteAgentRequestOrBuilder.java | 4 + .../v2/DeleteAllContextsRequest.java | 23 +- .../v2/DeleteAllContextsRequestOrBuilder.java | 4 + .../dialogflow/v2/DeleteContextRequest.java | 23 +- .../v2/DeleteContextRequestOrBuilder.java | 4 + .../v2/DeleteEntityTypeRequest.java | 23 +- .../v2/DeleteEntityTypeRequestOrBuilder.java | 4 + .../dialogflow/v2/DeleteIntentRequest.java | 23 +- .../v2/DeleteIntentRequestOrBuilder.java | 4 + .../v2/DeleteSessionEntityTypeRequest.java | 23 +- ...leteSessionEntityTypeRequestOrBuilder.java | 4 + .../dialogflow/v2/DetectIntentRequest.java | 56 +- .../v2/DetectIntentRequestOrBuilder.java | 18 + .../dialogflow/v2/DetectIntentResponse.java | 56 +- .../v2/DetectIntentResponseOrBuilder.java | 18 + .../cloud/dialogflow/v2/EntityType.java | 220 +- .../cloud/dialogflow/v2/EntityTypeBatch.java | 6 + .../cloud/dialogflow/v2/EntityTypeName.java | 2 +- .../dialogflow/v2/EntityTypeOrBuilder.java | 18 + .../cloud/dialogflow/v2/EntityTypeProto.java | 32 +- .../cloud/dialogflow/v2/EventInput.java | 47 +- .../dialogflow/v2/EventInputOrBuilder.java | 12 + .../dialogflow/v2/ExportAgentRequest.java | 39 +- .../v2/ExportAgentRequestOrBuilder.java | 8 + .../dialogflow/v2/ExportAgentResponse.java | 43 +- .../v2/ExportAgentResponseOrBuilder.java | 6 + .../cloud/dialogflow/v2/GetAgentRequest.java | 23 +- .../v2/GetAgentRequestOrBuilder.java | 4 + .../dialogflow/v2/GetContextRequest.java | 23 +- .../v2/GetContextRequestOrBuilder.java | 4 + .../dialogflow/v2/GetEntityTypeRequest.java | 39 +- .../v2/GetEntityTypeRequestOrBuilder.java | 8 + .../cloud/dialogflow/v2/GetIntentRequest.java | 55 +- .../v2/GetIntentRequestOrBuilder.java | 12 + .../v2/GetSessionEntityTypeRequest.java | 23 +- .../GetSessionEntityTypeRequestOrBuilder.java | 4 + .../dialogflow/v2/ImportAgentRequest.java | 59 +- .../v2/ImportAgentRequestOrBuilder.java | 10 + .../cloud/dialogflow/v2/InputAudioConfig.java | 130 +- .../v2/InputAudioConfigOrBuilder.java | 26 + .../google/cloud/dialogflow/v2/Intent.java | 2642 +++++++++++-- .../cloud/dialogflow/v2/IntentBatch.java | 6 + .../cloud/dialogflow/v2/IntentName.java | 2 +- .../cloud/dialogflow/v2/IntentOrBuilder.java | 64 + .../cloud/dialogflow/v2/IntentProto.java | 40 +- .../cloud/dialogflow/v2/IntentView.java | 10 +- .../dialogflow/v2/ListContextsRequest.java | 48 +- .../v2/ListContextsRequestOrBuilder.java | 10 + .../dialogflow/v2/ListContextsResponse.java | 25 +- .../v2/ListContextsResponseOrBuilder.java | 4 + .../dialogflow/v2/ListEntityTypesRequest.java | 64 +- .../v2/ListEntityTypesRequestOrBuilder.java | 14 + .../v2/ListEntityTypesResponse.java | 25 +- .../v2/ListEntityTypesResponseOrBuilder.java | 4 + .../dialogflow/v2/ListIntentsRequest.java | 80 +- .../v2/ListIntentsRequestOrBuilder.java | 18 + .../dialogflow/v2/ListIntentsResponse.java | 25 +- .../v2/ListIntentsResponseOrBuilder.java | 4 + .../v2/ListSessionEntityTypesRequest.java | 48 +- ...istSessionEntityTypesRequestOrBuilder.java | 10 + .../v2/ListSessionEntityTypesResponse.java | 25 +- ...stSessionEntityTypesResponseOrBuilder.java | 4 + .../v2/OriginalDetectIntentRequest.java | 47 +- .../OriginalDetectIntentRequestOrBuilder.java | 12 + .../dialogflow/v2/OutputAudioConfig.java | 40 +- .../v2/OutputAudioConfigOrBuilder.java | 10 + .../dialogflow/v2/OutputAudioEncoding.java | 10 +- .../cloud/dialogflow/v2/ProjectAgentName.java | 2 +- .../cloud/dialogflow/v2/ProjectName.java | 2 +- .../cloud/dialogflow/v2/QueryInput.java | 42 +- .../dialogflow/v2/QueryInputOrBuilder.java | 12 + .../cloud/dialogflow/v2/QueryParameters.java | 106 +- .../v2/QueryParametersOrBuilder.java | 18 + .../cloud/dialogflow/v2/QueryResult.java | 204 +- .../dialogflow/v2/QueryResultOrBuilder.java | 46 + .../dialogflow/v2/RestoreAgentRequest.java | 59 +- .../v2/RestoreAgentRequestOrBuilder.java | 10 + .../dialogflow/v2/SearchAgentsRequest.java | 48 +- .../v2/SearchAgentsRequestOrBuilder.java | 10 + .../dialogflow/v2/SearchAgentsResponse.java | 25 +- .../v2/SearchAgentsResponseOrBuilder.java | 4 + .../google/cloud/dialogflow/v2/Sentiment.java | 25 +- .../v2/SentimentAnalysisRequestConfig.java | 16 +- ...ntimentAnalysisRequestConfigOrBuilder.java | 2 + .../v2/SentimentAnalysisResult.java | 15 +- .../v2/SentimentAnalysisResultOrBuilder.java | 4 + .../dialogflow/v2/SentimentOrBuilder.java | 4 + .../dialogflow/v2/SessionEntityType.java | 75 +- .../dialogflow/v2/SessionEntityTypeName.java | 2 +- .../v2/SessionEntityTypeOrBuilder.java | 8 + .../dialogflow/v2/SessionEntityTypeProto.java | 32 +- .../cloud/dialogflow/v2/SessionName.java | 2 +- .../cloud/dialogflow/v2/SessionProto.java | 40 +- .../cloud/dialogflow/v2/SetAgentRequest.java | 23 +- .../v2/SetAgentRequestOrBuilder.java | 8 + .../dialogflow/v2/SpeechModelVariant.java | 10 +- .../cloud/dialogflow/v2/SsmlVoiceGender.java | 10 +- .../v2/StreamingDetectIntentRequest.java | 65 +- ...StreamingDetectIntentRequestOrBuilder.java | 20 + .../v2/StreamingDetectIntentResponse.java | 64 +- ...treamingDetectIntentResponseOrBuilder.java | 22 + .../v2/StreamingRecognitionResult.java | 67 +- .../StreamingRecognitionResultOrBuilder.java | 12 + .../dialogflow/v2/SynthesizeSpeechConfig.java | 99 +- .../v2/SynthesizeSpeechConfigOrBuilder.java | 20 + .../google/cloud/dialogflow/v2/TextInput.java | 39 +- .../dialogflow/v2/TextInputOrBuilder.java | 8 + .../dialogflow/v2/TrainAgentRequest.java | 23 +- .../v2/TrainAgentRequestOrBuilder.java | 4 + .../dialogflow/v2/UpdateContextRequest.java | 23 +- .../v2/UpdateContextRequestOrBuilder.java | 8 + .../v2/UpdateEntityTypeRequest.java | 39 +- .../v2/UpdateEntityTypeRequestOrBuilder.java | 12 + .../dialogflow/v2/UpdateIntentRequest.java | 55 +- .../v2/UpdateIntentRequestOrBuilder.java | 16 + .../v2/UpdateSessionEntityTypeRequest.java | 23 +- ...dateSessionEntityTypeRequestOrBuilder.java | 8 + .../dialogflow/v2/VoiceSelectionParams.java | 39 +- .../v2/VoiceSelectionParamsOrBuilder.java | 8 + .../cloud/dialogflow/v2/WebhookProto.java | 30 +- .../cloud/dialogflow/v2/WebhookRequest.java | 55 +- .../v2/WebhookRequestOrBuilder.java | 16 + .../cloud/dialogflow/v2/WebhookResponse.java | 129 +- .../v2/WebhookResponseOrBuilder.java | 16 + .../cloud/dialogflow/v2beta1/Agent.java | 256 +- .../dialogflow/v2beta1/AgentOrBuilder.java | 50 + .../cloud/dialogflow/v2beta1/AgentProto.java | 34 +- .../dialogflow/v2beta1/AudioConfigProto.java | 26 +- .../dialogflow/v2beta1/AudioEncoding.java | 10 +- .../v2beta1/BatchCreateEntitiesRequest.java | 65 +- .../BatchCreateEntitiesRequestOrBuilder.java | 8 + .../v2beta1/BatchDeleteEntitiesRequest.java | 96 +- .../BatchDeleteEntitiesRequestOrBuilder.java | 18 + .../BatchDeleteEntityTypesRequest.java | 80 +- ...atchDeleteEntityTypesRequestOrBuilder.java | 14 + .../v2beta1/BatchDeleteIntentsRequest.java | 49 +- .../BatchDeleteIntentsRequestOrBuilder.java | 4 + .../v2beta1/BatchUpdateEntitiesRequest.java | 73 +- .../BatchUpdateEntitiesRequestOrBuilder.java | 12 + .../BatchUpdateEntityTypesRequest.java | 82 +- ...atchUpdateEntityTypesRequestOrBuilder.java | 20 + .../BatchUpdateEntityTypesResponse.java | 6 + .../v2beta1/BatchUpdateIntentsRequest.java | 98 +- .../BatchUpdateIntentsRequestOrBuilder.java | 24 + .../v2beta1/BatchUpdateIntentsResponse.java | 6 + .../cloud/dialogflow/v2beta1/Context.java | 40 +- .../cloud/dialogflow/v2beta1/ContextName.java | 2 +- .../dialogflow/v2beta1/ContextOrBuilder.java | 10 + .../dialogflow/v2beta1/ContextProto.java | 28 +- .../v2beta1/CreateContextRequest.java | 31 +- .../CreateContextRequestOrBuilder.java | 8 + .../v2beta1/CreateDocumentRequest.java | 31 +- .../CreateDocumentRequestOrBuilder.java | 8 + .../v2beta1/CreateEntityTypeRequest.java | 47 +- .../CreateEntityTypeRequestOrBuilder.java | 12 + .../v2beta1/CreateIntentRequest.java | 63 +- .../v2beta1/CreateIntentRequestOrBuilder.java | 16 + .../v2beta1/CreateKnowledgeBaseRequest.java | 31 +- .../CreateKnowledgeBaseRequestOrBuilder.java | 8 + .../CreateSessionEntityTypeRequest.java | 31 +- ...eateSessionEntityTypeRequestOrBuilder.java | 8 + .../v2beta1/DeleteAgentRequest.java | 23 +- .../v2beta1/DeleteAgentRequestOrBuilder.java | 4 + .../v2beta1/DeleteAllContextsRequest.java | 23 +- .../DeleteAllContextsRequestOrBuilder.java | 4 + .../v2beta1/DeleteContextRequest.java | 23 +- .../DeleteContextRequestOrBuilder.java | 4 + .../v2beta1/DeleteDocumentRequest.java | 23 +- .../DeleteDocumentRequestOrBuilder.java | 4 + .../v2beta1/DeleteEntityTypeRequest.java | 23 +- .../DeleteEntityTypeRequestOrBuilder.java | 4 + .../v2beta1/DeleteIntentRequest.java | 23 +- .../v2beta1/DeleteIntentRequestOrBuilder.java | 4 + .../v2beta1/DeleteKnowledgeBaseRequest.java | 32 +- .../DeleteKnowledgeBaseRequestOrBuilder.java | 6 + .../DeleteSessionEntityTypeRequest.java | 23 +- ...leteSessionEntityTypeRequestOrBuilder.java | 4 + .../v2beta1/DetectIntentRequest.java | 56 +- .../v2beta1/DetectIntentRequestOrBuilder.java | 18 + .../v2beta1/DetectIntentResponse.java | 82 +- .../DetectIntentResponseOrBuilder.java | 18 + .../cloud/dialogflow/v2beta1/Document.java | 189 +- .../dialogflow/v2beta1/DocumentName.java | 2 +- .../dialogflow/v2beta1/DocumentOrBuilder.java | 34 + .../dialogflow/v2beta1/DocumentProto.java | 34 +- .../cloud/dialogflow/v2beta1/EntityType.java | 220 +- .../dialogflow/v2beta1/EntityTypeBatch.java | 6 + .../dialogflow/v2beta1/EntityTypeName.java | 2 +- .../v2beta1/EntityTypeOrBuilder.java | 18 + .../dialogflow/v2beta1/EntityTypeProto.java | 32 +- .../v2beta1/EnvironmentContextName.java | 2 +- .../EnvironmentSessionEntityTypeName.java | 2 +- .../v2beta1/EnvironmentSessionName.java | 2 +- .../cloud/dialogflow/v2beta1/EventInput.java | 47 +- .../v2beta1/EventInputOrBuilder.java | 12 + .../v2beta1/ExportAgentRequest.java | 39 +- .../v2beta1/ExportAgentRequestOrBuilder.java | 8 + .../v2beta1/ExportAgentResponse.java | 43 +- .../v2beta1/ExportAgentResponseOrBuilder.java | 6 + .../cloud/dialogflow/v2beta1/GcsProto.java | 20 +- .../cloud/dialogflow/v2beta1/GcsSource.java | 23 +- .../v2beta1/GcsSourceOrBuilder.java | 4 + .../dialogflow/v2beta1/GetAgentRequest.java | 23 +- .../v2beta1/GetAgentRequestOrBuilder.java | 4 + .../dialogflow/v2beta1/GetContextRequest.java | 23 +- .../v2beta1/GetContextRequestOrBuilder.java | 4 + .../v2beta1/GetDocumentRequest.java | 23 +- .../v2beta1/GetDocumentRequestOrBuilder.java | 4 + .../v2beta1/GetEntityTypeRequest.java | 39 +- .../GetEntityTypeRequestOrBuilder.java | 8 + .../dialogflow/v2beta1/GetIntentRequest.java | 55 +- .../v2beta1/GetIntentRequestOrBuilder.java | 12 + .../v2beta1/GetKnowledgeBaseRequest.java | 23 +- .../GetKnowledgeBaseRequestOrBuilder.java | 4 + .../v2beta1/GetSessionEntityTypeRequest.java | 23 +- .../GetSessionEntityTypeRequestOrBuilder.java | 4 + .../v2beta1/GetValidationResultRequest.java | 39 +- .../GetValidationResultRequestOrBuilder.java | 8 + .../v2beta1/ImportAgentRequest.java | 59 +- .../v2beta1/ImportAgentRequestOrBuilder.java | 10 + .../dialogflow/v2beta1/InputAudioConfig.java | 179 +- .../v2beta1/InputAudioConfigOrBuilder.java | 32 + .../cloud/dialogflow/v2beta1/Intent.java | 3444 +++++++++++++++-- .../cloud/dialogflow/v2beta1/IntentBatch.java | 6 + .../cloud/dialogflow/v2beta1/IntentName.java | 2 +- .../dialogflow/v2beta1/IntentOrBuilder.java | 68 + .../cloud/dialogflow/v2beta1/IntentProto.java | 40 +- .../cloud/dialogflow/v2beta1/IntentView.java | 10 +- .../dialogflow/v2beta1/KnowledgeAnswers.java | 114 +- .../dialogflow/v2beta1/KnowledgeBase.java | 55 +- .../dialogflow/v2beta1/KnowledgeBaseName.java | 2 +- .../v2beta1/KnowledgeBaseOrBuilder.java | 12 + .../v2beta1/KnowledgeBaseProto.java | 26 +- .../v2beta1/KnowledgeOperationMetadata.java | 33 +- .../KnowledgeOperationMetadataOrBuilder.java | 4 + .../v2beta1/ListContextsRequest.java | 48 +- .../v2beta1/ListContextsRequestOrBuilder.java | 10 + .../v2beta1/ListContextsResponse.java | 25 +- .../ListContextsResponseOrBuilder.java | 4 + .../v2beta1/ListDocumentsRequest.java | 48 +- .../ListDocumentsRequestOrBuilder.java | 10 + .../v2beta1/ListDocumentsResponse.java | 25 +- .../ListDocumentsResponseOrBuilder.java | 4 + .../v2beta1/ListEntityTypesRequest.java | 64 +- .../ListEntityTypesRequestOrBuilder.java | 14 + .../v2beta1/ListEntityTypesResponse.java | 25 +- .../ListEntityTypesResponseOrBuilder.java | 4 + .../v2beta1/ListIntentsRequest.java | 80 +- .../v2beta1/ListIntentsRequestOrBuilder.java | 18 + .../v2beta1/ListIntentsResponse.java | 25 +- .../v2beta1/ListIntentsResponseOrBuilder.java | 4 + .../v2beta1/ListKnowledgeBasesRequest.java | 48 +- .../ListKnowledgeBasesRequestOrBuilder.java | 10 + .../v2beta1/ListKnowledgeBasesResponse.java | 25 +- .../ListKnowledgeBasesResponseOrBuilder.java | 4 + .../ListSessionEntityTypesRequest.java | 48 +- ...istSessionEntityTypesRequestOrBuilder.java | 10 + .../ListSessionEntityTypesResponse.java | 25 +- ...stSessionEntityTypesResponseOrBuilder.java | 4 + .../v2beta1/OriginalDetectIntentRequest.java | 47 +- .../OriginalDetectIntentRequestOrBuilder.java | 12 + .../dialogflow/v2beta1/OutputAudioConfig.java | 40 +- .../v2beta1/OutputAudioConfigOrBuilder.java | 10 + .../v2beta1/OutputAudioEncoding.java | 10 +- .../dialogflow/v2beta1/ProjectAgentName.java | 2 +- .../cloud/dialogflow/v2beta1/ProjectName.java | 2 +- .../cloud/dialogflow/v2beta1/QueryInput.java | 42 +- .../v2beta1/QueryInputOrBuilder.java | 12 + .../dialogflow/v2beta1/QueryParameters.java | 165 +- .../v2beta1/QueryParametersOrBuilder.java | 28 + .../cloud/dialogflow/v2beta1/QueryResult.java | 212 +- .../v2beta1/QueryResultOrBuilder.java | 50 + .../v2beta1/ReloadDocumentRequest.java | 42 +- .../ReloadDocumentRequestOrBuilder.java | 8 + .../v2beta1/RestoreAgentRequest.java | 59 +- .../v2beta1/RestoreAgentRequestOrBuilder.java | 10 + .../v2beta1/SearchAgentsRequest.java | 48 +- .../v2beta1/SearchAgentsRequestOrBuilder.java | 10 + .../v2beta1/SearchAgentsResponse.java | 25 +- .../SearchAgentsResponseOrBuilder.java | 4 + .../cloud/dialogflow/v2beta1/Sentiment.java | 25 +- .../SentimentAnalysisRequestConfig.java | 16 +- ...ntimentAnalysisRequestConfigOrBuilder.java | 2 + .../v2beta1/SentimentAnalysisResult.java | 15 +- .../SentimentAnalysisResultOrBuilder.java | 4 + .../v2beta1/SentimentOrBuilder.java | 4 + .../dialogflow/v2beta1/SessionEntityType.java | 75 +- .../v2beta1/SessionEntityTypeName.java | 2 +- .../v2beta1/SessionEntityTypeOrBuilder.java | 8 + .../v2beta1/SessionEntityTypeProto.java | 28 +- .../cloud/dialogflow/v2beta1/SessionName.java | 2 +- .../dialogflow/v2beta1/SessionProto.java | 44 +- .../dialogflow/v2beta1/SetAgentRequest.java | 23 +- .../v2beta1/SetAgentRequestOrBuilder.java | 8 + .../dialogflow/v2beta1/SpeechContext.java | 53 +- .../v2beta1/SpeechContextOrBuilder.java | 12 + .../v2beta1/SpeechModelVariant.java | 10 +- .../dialogflow/v2beta1/SpeechWordInfo.java | 48 +- .../v2beta1/SpeechWordInfoOrBuilder.java | 14 + .../dialogflow/v2beta1/SsmlVoiceGender.java | 10 +- .../v2beta1/StreamingDetectIntentRequest.java | 65 +- ...StreamingDetectIntentRequestOrBuilder.java | 20 + .../StreamingDetectIntentResponse.java | 90 +- ...treamingDetectIntentResponseOrBuilder.java | 22 + .../v2beta1/StreamingRecognitionResult.java | 110 +- .../StreamingRecognitionResultOrBuilder.java | 18 + .../v2beta1/SynthesizeSpeechConfig.java | 99 +- .../SynthesizeSpeechConfigOrBuilder.java | 20 + .../cloud/dialogflow/v2beta1/TextInput.java | 39 +- .../v2beta1/TextInputOrBuilder.java | 8 + .../dialogflow/v2beta1/TrainAgentRequest.java | 23 +- .../v2beta1/TrainAgentRequestOrBuilder.java | 4 + .../v2beta1/UpdateContextRequest.java | 23 +- .../UpdateContextRequestOrBuilder.java | 8 + .../v2beta1/UpdateDocumentRequest.java | 23 +- .../UpdateDocumentRequestOrBuilder.java | 8 + .../v2beta1/UpdateEntityTypeRequest.java | 39 +- .../UpdateEntityTypeRequestOrBuilder.java | 12 + .../v2beta1/UpdateIntentRequest.java | 55 +- .../v2beta1/UpdateIntentRequestOrBuilder.java | 16 + .../v2beta1/UpdateKnowledgeBaseRequest.java | 23 +- .../UpdateKnowledgeBaseRequestOrBuilder.java | 8 + .../UpdateSessionEntityTypeRequest.java | 23 +- ...dateSessionEntityTypeRequestOrBuilder.java | 8 + .../dialogflow/v2beta1/ValidationError.java | 106 +- .../v2beta1/ValidationErrorOrBuilder.java | 18 + .../dialogflow/v2beta1/ValidationResult.java | 6 + .../v2beta1/ValidationResultProto.java | 20 +- .../v2beta1/VoiceSelectionParams.java | 39 +- .../VoiceSelectionParamsOrBuilder.java | 8 + .../dialogflow/v2beta1/WebhookProto.java | 30 +- .../dialogflow/v2beta1/WebhookRequest.java | 81 +- .../v2beta1/WebhookRequestOrBuilder.java | 16 + .../dialogflow/v2beta1/WebhookResponse.java | 138 +- .../v2beta1/WebhookResponseOrBuilder.java | 18 + synth.metadata | 10 +- 371 files changed, 15734 insertions(+), 1855 deletions(-) diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Agent.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Agent.java index 04ab6b7fc..c5fe6e947 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Agent.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Agent.java @@ -50,6 +50,12 @@ private Agent() { tier_ = 0; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Agent(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -98,9 +104,9 @@ private Agent( case 34: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000008) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { supportedLanguageCodes_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000008; + mutable_bitField0_ |= 0x00000001; } supportedLanguageCodes_.add(s); break; @@ -171,7 +177,7 @@ private Agent( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000008) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { supportedLanguageCodes_ = supportedLanguageCodes_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -280,12 +286,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static MatchMode valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static MatchMode forNumber(int value) { switch (value) { case 0: @@ -445,12 +459,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static ApiVersion valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static ApiVersion forNumber(int value) { switch (value) { case 0: @@ -612,12 +634,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static Tier valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static Tier forNumber(int value) { switch (value) { case 0: @@ -677,7 +707,6 @@ private Tier(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.dialogflow.v2.Agent.Tier) } - private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** @@ -691,6 +720,8 @@ private Tier(int value) { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -714,6 +745,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -737,6 +770,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; @@ -757,6 +792,8 @@ public java.lang.String getDisplayName() { * * * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for displayName. */ public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; @@ -784,6 +821,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * * * string default_language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The defaultLanguageCode. */ public java.lang.String getDefaultLanguageCode() { java.lang.Object ref = defaultLanguageCode_; @@ -808,6 +847,8 @@ public java.lang.String getDefaultLanguageCode() { * * * string default_language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for defaultLanguageCode. */ public com.google.protobuf.ByteString getDefaultLanguageCodeBytes() { java.lang.Object ref = defaultLanguageCode_; @@ -833,6 +874,8 @@ public com.google.protobuf.ByteString getDefaultLanguageCodeBytes() { * * repeated string supported_language_codes = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return A list containing the supportedLanguageCodes. */ public com.google.protobuf.ProtocolStringList getSupportedLanguageCodesList() { return supportedLanguageCodes_; @@ -847,6 +890,8 @@ public com.google.protobuf.ProtocolStringList getSupportedLanguageCodesList() { * * repeated string supported_language_codes = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The count of supportedLanguageCodes. */ public int getSupportedLanguageCodesCount() { return supportedLanguageCodes_.size(); @@ -861,6 +906,9 @@ public int getSupportedLanguageCodesCount() { * * repeated string supported_language_codes = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the element to return. + * @return The supportedLanguageCodes at the given index. */ public java.lang.String getSupportedLanguageCodes(int index) { return supportedLanguageCodes_.get(index); @@ -875,6 +923,9 @@ public java.lang.String getSupportedLanguageCodes(int index) { * * repeated string supported_language_codes = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the value to return. + * @return The bytes of the supportedLanguageCodes at the given index. */ public com.google.protobuf.ByteString getSupportedLanguageCodesBytes(int index) { return supportedLanguageCodes_.getByteString(index); @@ -892,6 +943,8 @@ public com.google.protobuf.ByteString getSupportedLanguageCodesBytes(int index) * * * string time_zone = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The timeZone. */ public java.lang.String getTimeZone() { java.lang.Object ref = timeZone_; @@ -914,6 +967,8 @@ public java.lang.String getTimeZone() { * * * string time_zone = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for timeZone. */ public com.google.protobuf.ByteString getTimeZoneBytes() { java.lang.Object ref = timeZone_; @@ -938,6 +993,8 @@ public com.google.protobuf.ByteString getTimeZoneBytes() { * * * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; @@ -959,6 +1016,8 @@ public java.lang.String getDescription() { * * * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; @@ -986,6 +1045,8 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * * string avatar_uri = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The avatarUri. */ public java.lang.String getAvatarUri() { java.lang.Object ref = avatarUri_; @@ -1010,6 +1071,8 @@ public java.lang.String getAvatarUri() { * * * string avatar_uri = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for avatarUri. */ public com.google.protobuf.ByteString getAvatarUriBytes() { java.lang.Object ref = avatarUri_; @@ -1033,6 +1096,8 @@ public com.google.protobuf.ByteString getAvatarUriBytes() { * * * bool enable_logging = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enableLogging. */ public boolean getEnableLogging() { return enableLogging_; @@ -1050,6 +1115,8 @@ public boolean getEnableLogging() { * * .google.cloud.dialogflow.v2.Agent.MatchMode match_mode = 9 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The enum numeric value on the wire for matchMode. */ public int getMatchModeValue() { return matchMode_; @@ -1064,6 +1131,8 @@ public int getMatchModeValue() { * * .google.cloud.dialogflow.v2.Agent.MatchMode match_mode = 9 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The matchMode. */ public com.google.cloud.dialogflow.v2.Agent.MatchMode getMatchMode() { @SuppressWarnings("deprecation") @@ -1088,6 +1157,8 @@ public com.google.cloud.dialogflow.v2.Agent.MatchMode getMatchMode() { * * * float classification_threshold = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The classificationThreshold. */ public float getClassificationThreshold() { return classificationThreshold_; @@ -1108,6 +1179,8 @@ public float getClassificationThreshold() { * * .google.cloud.dialogflow.v2.Agent.ApiVersion api_version = 14 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The enum numeric value on the wire for apiVersion. */ public int getApiVersionValue() { return apiVersion_; @@ -1125,6 +1198,8 @@ public int getApiVersionValue() { * * .google.cloud.dialogflow.v2.Agent.ApiVersion api_version = 14 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The apiVersion. */ public com.google.cloud.dialogflow.v2.Agent.ApiVersion getApiVersion() { @SuppressWarnings("deprecation") @@ -1145,6 +1220,8 @@ public com.google.cloud.dialogflow.v2.Agent.ApiVersion getApiVersion() { * * .google.cloud.dialogflow.v2.Agent.Tier tier = 15 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The enum numeric value on the wire for tier. */ public int getTierValue() { return tier_; @@ -1159,6 +1236,8 @@ public int getTierValue() { * * .google.cloud.dialogflow.v2.Agent.Tier tier = 15 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The tier. */ public com.google.cloud.dialogflow.v2.Agent.Tier getTier() { @SuppressWarnings("deprecation") @@ -1489,7 +1568,7 @@ public Builder clear() { defaultLanguageCode_ = ""; supportedLanguageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000001); timeZone_ = ""; description_ = ""; @@ -1533,13 +1612,12 @@ public com.google.cloud.dialogflow.v2.Agent build() { public com.google.cloud.dialogflow.v2.Agent buildPartial() { com.google.cloud.dialogflow.v2.Agent result = new com.google.cloud.dialogflow.v2.Agent(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.parent_ = parent_; result.displayName_ = displayName_; result.defaultLanguageCode_ = defaultLanguageCode_; - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { supportedLanguageCodes_ = supportedLanguageCodes_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000001); } result.supportedLanguageCodes_ = supportedLanguageCodes_; result.timeZone_ = timeZone_; @@ -1550,7 +1628,6 @@ public com.google.cloud.dialogflow.v2.Agent buildPartial() { result.classificationThreshold_ = classificationThreshold_; result.apiVersion_ = apiVersion_; result.tier_ = tier_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1615,7 +1692,7 @@ public Builder mergeFrom(com.google.cloud.dialogflow.v2.Agent other) { if (!other.supportedLanguageCodes_.isEmpty()) { if (supportedLanguageCodes_.isEmpty()) { supportedLanguageCodes_ = other.supportedLanguageCodes_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSupportedLanguageCodesIsMutable(); supportedLanguageCodes_.addAll(other.supportedLanguageCodes_); @@ -1692,6 +1769,8 @@ public Builder mergeFrom( * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -1715,6 +1794,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -1738,6 +1819,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -1759,6 +1843,8 @@ public Builder setParent(java.lang.String value) { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -1777,6 +1863,9 @@ public Builder clearParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1798,6 +1887,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; @@ -1818,6 +1909,8 @@ public java.lang.String getDisplayName() { * * * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for displayName. */ public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; @@ -1838,6 +1931,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * * * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The displayName to set. + * @return This builder for chaining. */ public Builder setDisplayName(java.lang.String value) { if (value == null) { @@ -1856,6 +1952,8 @@ public Builder setDisplayName(java.lang.String value) { * * * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1871,6 +1969,9 @@ public Builder clearDisplayName() { * * * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for displayName to set. + * @return This builder for chaining. */ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1896,6 +1997,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { * * * string default_language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The defaultLanguageCode. */ public java.lang.String getDefaultLanguageCode() { java.lang.Object ref = defaultLanguageCode_; @@ -1920,6 +2023,8 @@ public java.lang.String getDefaultLanguageCode() { * * * string default_language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for defaultLanguageCode. */ public com.google.protobuf.ByteString getDefaultLanguageCodeBytes() { java.lang.Object ref = defaultLanguageCode_; @@ -1944,6 +2049,9 @@ public com.google.protobuf.ByteString getDefaultLanguageCodeBytes() { * * * string default_language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The defaultLanguageCode to set. + * @return This builder for chaining. */ public Builder setDefaultLanguageCode(java.lang.String value) { if (value == null) { @@ -1966,6 +2074,8 @@ public Builder setDefaultLanguageCode(java.lang.String value) { * * * string default_language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearDefaultLanguageCode() { @@ -1985,6 +2095,9 @@ public Builder clearDefaultLanguageCode() { * * * string default_language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for defaultLanguageCode to set. + * @return This builder for chaining. */ public Builder setDefaultLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2001,10 +2114,10 @@ public Builder setDefaultLanguageCodeBytes(com.google.protobuf.ByteString value) com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSupportedLanguageCodesIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { supportedLanguageCodes_ = new com.google.protobuf.LazyStringArrayList(supportedLanguageCodes_); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000001; } } /** @@ -2017,6 +2130,8 @@ private void ensureSupportedLanguageCodesIsMutable() { * * repeated string supported_language_codes = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return A list containing the supportedLanguageCodes. */ public com.google.protobuf.ProtocolStringList getSupportedLanguageCodesList() { return supportedLanguageCodes_.getUnmodifiableView(); @@ -2031,6 +2146,8 @@ public com.google.protobuf.ProtocolStringList getSupportedLanguageCodesList() { * * repeated string supported_language_codes = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The count of supportedLanguageCodes. */ public int getSupportedLanguageCodesCount() { return supportedLanguageCodes_.size(); @@ -2045,6 +2162,9 @@ public int getSupportedLanguageCodesCount() { * * repeated string supported_language_codes = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the element to return. + * @return The supportedLanguageCodes at the given index. */ public java.lang.String getSupportedLanguageCodes(int index) { return supportedLanguageCodes_.get(index); @@ -2059,6 +2179,9 @@ public java.lang.String getSupportedLanguageCodes(int index) { * * repeated string supported_language_codes = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the value to return. + * @return The bytes of the supportedLanguageCodes at the given index. */ public com.google.protobuf.ByteString getSupportedLanguageCodesBytes(int index) { return supportedLanguageCodes_.getByteString(index); @@ -2073,6 +2196,10 @@ public com.google.protobuf.ByteString getSupportedLanguageCodesBytes(int index) * * repeated string supported_language_codes = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index to set the value at. + * @param value The supportedLanguageCodes to set. + * @return This builder for chaining. */ public Builder setSupportedLanguageCodes(int index, java.lang.String value) { if (value == null) { @@ -2093,6 +2220,9 @@ public Builder setSupportedLanguageCodes(int index, java.lang.String value) { * * repeated string supported_language_codes = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The supportedLanguageCodes to add. + * @return This builder for chaining. */ public Builder addSupportedLanguageCodes(java.lang.String value) { if (value == null) { @@ -2113,6 +2243,9 @@ public Builder addSupportedLanguageCodes(java.lang.String value) { * * repeated string supported_language_codes = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param values The supportedLanguageCodes to add. + * @return This builder for chaining. */ public Builder addAllSupportedLanguageCodes(java.lang.Iterable values) { ensureSupportedLanguageCodesIsMutable(); @@ -2130,10 +2263,12 @@ public Builder addAllSupportedLanguageCodes(java.lang.Iterable * * repeated string supported_language_codes = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return This builder for chaining. */ public Builder clearSupportedLanguageCodes() { supportedLanguageCodes_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -2147,6 +2282,9 @@ public Builder clearSupportedLanguageCodes() { * * repeated string supported_language_codes = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The bytes of the supportedLanguageCodes to add. + * @return This builder for chaining. */ public Builder addSupportedLanguageCodesBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2170,6 +2308,8 @@ public Builder addSupportedLanguageCodesBytes(com.google.protobuf.ByteString val * * * string time_zone = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The timeZone. */ public java.lang.String getTimeZone() { java.lang.Object ref = timeZone_; @@ -2192,6 +2332,8 @@ public java.lang.String getTimeZone() { * * * string time_zone = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for timeZone. */ public com.google.protobuf.ByteString getTimeZoneBytes() { java.lang.Object ref = timeZone_; @@ -2214,6 +2356,9 @@ public com.google.protobuf.ByteString getTimeZoneBytes() { * * * string time_zone = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The timeZone to set. + * @return This builder for chaining. */ public Builder setTimeZone(java.lang.String value) { if (value == null) { @@ -2234,6 +2379,8 @@ public Builder setTimeZone(java.lang.String value) { * * * string time_zone = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearTimeZone() { @@ -2251,6 +2398,9 @@ public Builder clearTimeZone() { * * * string time_zone = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for timeZone to set. + * @return This builder for chaining. */ public Builder setTimeZoneBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2273,6 +2423,8 @@ public Builder setTimeZoneBytes(com.google.protobuf.ByteString value) { * * * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; @@ -2294,6 +2446,8 @@ public java.lang.String getDescription() { * * * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for description. */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; @@ -2315,6 +2469,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The description to set. + * @return This builder for chaining. */ public Builder setDescription(java.lang.String value) { if (value == null) { @@ -2334,6 +2491,8 @@ public Builder setDescription(java.lang.String value) { * * * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearDescription() { @@ -2350,6 +2509,9 @@ public Builder clearDescription() { * * * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for description to set. + * @return This builder for chaining. */ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2375,6 +2537,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * * * string avatar_uri = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The avatarUri. */ public java.lang.String getAvatarUri() { java.lang.Object ref = avatarUri_; @@ -2399,6 +2563,8 @@ public java.lang.String getAvatarUri() { * * * string avatar_uri = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for avatarUri. */ public com.google.protobuf.ByteString getAvatarUriBytes() { java.lang.Object ref = avatarUri_; @@ -2423,6 +2589,9 @@ public com.google.protobuf.ByteString getAvatarUriBytes() { * * * string avatar_uri = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The avatarUri to set. + * @return This builder for chaining. */ public Builder setAvatarUri(java.lang.String value) { if (value == null) { @@ -2445,6 +2614,8 @@ public Builder setAvatarUri(java.lang.String value) { * * * string avatar_uri = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearAvatarUri() { @@ -2464,6 +2635,9 @@ public Builder clearAvatarUri() { * * * string avatar_uri = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for avatarUri to set. + * @return This builder for chaining. */ public Builder setAvatarUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2485,6 +2659,8 @@ public Builder setAvatarUriBytes(com.google.protobuf.ByteString value) { * * * bool enable_logging = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enableLogging. */ public boolean getEnableLogging() { return enableLogging_; @@ -2497,6 +2673,9 @@ public boolean getEnableLogging() { * * * bool enable_logging = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The enableLogging to set. + * @return This builder for chaining. */ public Builder setEnableLogging(boolean value) { @@ -2512,6 +2691,8 @@ public Builder setEnableLogging(boolean value) { * * * bool enable_logging = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearEnableLogging() { @@ -2531,6 +2712,8 @@ public Builder clearEnableLogging() { * * .google.cloud.dialogflow.v2.Agent.MatchMode match_mode = 9 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The enum numeric value on the wire for matchMode. */ public int getMatchModeValue() { return matchMode_; @@ -2545,6 +2728,9 @@ public int getMatchModeValue() { * * .google.cloud.dialogflow.v2.Agent.MatchMode match_mode = 9 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The enum numeric value on the wire for matchMode to set. + * @return This builder for chaining. */ public Builder setMatchModeValue(int value) { matchMode_ = value; @@ -2561,6 +2747,8 @@ public Builder setMatchModeValue(int value) { * * .google.cloud.dialogflow.v2.Agent.MatchMode match_mode = 9 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The matchMode. */ public com.google.cloud.dialogflow.v2.Agent.MatchMode getMatchMode() { @SuppressWarnings("deprecation") @@ -2578,6 +2766,9 @@ public com.google.cloud.dialogflow.v2.Agent.MatchMode getMatchMode() { * * .google.cloud.dialogflow.v2.Agent.MatchMode match_mode = 9 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The matchMode to set. + * @return This builder for chaining. */ public Builder setMatchMode(com.google.cloud.dialogflow.v2.Agent.MatchMode value) { if (value == null) { @@ -2598,6 +2789,8 @@ public Builder setMatchMode(com.google.cloud.dialogflow.v2.Agent.MatchMode value * * .google.cloud.dialogflow.v2.Agent.MatchMode match_mode = 9 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return This builder for chaining. */ public Builder clearMatchMode() { @@ -2621,6 +2814,8 @@ public Builder clearMatchMode() { * * * float classification_threshold = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The classificationThreshold. */ public float getClassificationThreshold() { return classificationThreshold_; @@ -2639,6 +2834,9 @@ public float getClassificationThreshold() { * * * float classification_threshold = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The classificationThreshold to set. + * @return This builder for chaining. */ public Builder setClassificationThreshold(float value) { @@ -2660,6 +2858,8 @@ public Builder setClassificationThreshold(float value) { * * * float classification_threshold = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearClassificationThreshold() { @@ -2682,6 +2882,8 @@ public Builder clearClassificationThreshold() { * * .google.cloud.dialogflow.v2.Agent.ApiVersion api_version = 14 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The enum numeric value on the wire for apiVersion. */ public int getApiVersionValue() { return apiVersion_; @@ -2699,6 +2901,9 @@ public int getApiVersionValue() { * * .google.cloud.dialogflow.v2.Agent.ApiVersion api_version = 14 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The enum numeric value on the wire for apiVersion to set. + * @return This builder for chaining. */ public Builder setApiVersionValue(int value) { apiVersion_ = value; @@ -2718,6 +2923,8 @@ public Builder setApiVersionValue(int value) { * * .google.cloud.dialogflow.v2.Agent.ApiVersion api_version = 14 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The apiVersion. */ public com.google.cloud.dialogflow.v2.Agent.ApiVersion getApiVersion() { @SuppressWarnings("deprecation") @@ -2738,6 +2945,9 @@ public com.google.cloud.dialogflow.v2.Agent.ApiVersion getApiVersion() { * * .google.cloud.dialogflow.v2.Agent.ApiVersion api_version = 14 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The apiVersion to set. + * @return This builder for chaining. */ public Builder setApiVersion(com.google.cloud.dialogflow.v2.Agent.ApiVersion value) { if (value == null) { @@ -2761,6 +2971,8 @@ public Builder setApiVersion(com.google.cloud.dialogflow.v2.Agent.ApiVersion val * * .google.cloud.dialogflow.v2.Agent.ApiVersion api_version = 14 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return This builder for chaining. */ public Builder clearApiVersion() { @@ -2780,6 +2992,8 @@ public Builder clearApiVersion() { * * .google.cloud.dialogflow.v2.Agent.Tier tier = 15 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The enum numeric value on the wire for tier. */ public int getTierValue() { return tier_; @@ -2794,6 +3008,9 @@ public int getTierValue() { * * .google.cloud.dialogflow.v2.Agent.Tier tier = 15 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The enum numeric value on the wire for tier to set. + * @return This builder for chaining. */ public Builder setTierValue(int value) { tier_ = value; @@ -2810,6 +3027,8 @@ public Builder setTierValue(int value) { * * .google.cloud.dialogflow.v2.Agent.Tier tier = 15 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The tier. */ public com.google.cloud.dialogflow.v2.Agent.Tier getTier() { @SuppressWarnings("deprecation") @@ -2827,6 +3046,9 @@ public com.google.cloud.dialogflow.v2.Agent.Tier getTier() { * * .google.cloud.dialogflow.v2.Agent.Tier tier = 15 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The tier to set. + * @return This builder for chaining. */ public Builder setTier(com.google.cloud.dialogflow.v2.Agent.Tier value) { if (value == null) { @@ -2847,6 +3069,8 @@ public Builder setTier(com.google.cloud.dialogflow.v2.Agent.Tier value) { * * .google.cloud.dialogflow.v2.Agent.Tier tier = 15 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return This builder for chaining. */ public Builder clearTier() { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentName.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentName.java index 6995c913a..84e64352c 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentName.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentName.java @@ -24,7 +24,7 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** AUTO-GENERATED DOCUMENTATION AND CLASS */ @javax.annotation.Generated("by GAPIC protoc plugin") public class AgentName implements ResourceName { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentOrBuilder.java index c8479278b..11bc84d77 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentOrBuilder.java @@ -34,6 +34,8 @@ public interface AgentOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ java.lang.String getParent(); /** @@ -47,6 +49,8 @@ public interface AgentOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -58,6 +62,8 @@ public interface AgentOrBuilder * * * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The displayName. */ java.lang.String getDisplayName(); /** @@ -68,6 +74,8 @@ public interface AgentOrBuilder * * * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for displayName. */ com.google.protobuf.ByteString getDisplayNameBytes(); @@ -83,6 +91,8 @@ public interface AgentOrBuilder * * * string default_language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The defaultLanguageCode. */ java.lang.String getDefaultLanguageCode(); /** @@ -97,6 +107,8 @@ public interface AgentOrBuilder * * * string default_language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for defaultLanguageCode. */ com.google.protobuf.ByteString getDefaultLanguageCodeBytes(); @@ -110,6 +122,8 @@ public interface AgentOrBuilder * * repeated string supported_language_codes = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return A list containing the supportedLanguageCodes. */ java.util.List getSupportedLanguageCodesList(); /** @@ -122,6 +136,8 @@ public interface AgentOrBuilder * * repeated string supported_language_codes = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The count of supportedLanguageCodes. */ int getSupportedLanguageCodesCount(); /** @@ -134,6 +150,9 @@ public interface AgentOrBuilder * * repeated string supported_language_codes = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the element to return. + * @return The supportedLanguageCodes at the given index. */ java.lang.String getSupportedLanguageCodes(int index); /** @@ -146,6 +165,9 @@ public interface AgentOrBuilder * * repeated string supported_language_codes = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param index The index of the value to return. + * @return The bytes of the supportedLanguageCodes at the given index. */ com.google.protobuf.ByteString getSupportedLanguageCodesBytes(int index); @@ -159,6 +181,8 @@ public interface AgentOrBuilder * * * string time_zone = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The timeZone. */ java.lang.String getTimeZone(); /** @@ -171,6 +195,8 @@ public interface AgentOrBuilder * * * string time_zone = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for timeZone. */ com.google.protobuf.ByteString getTimeZoneBytes(); @@ -183,6 +209,8 @@ public interface AgentOrBuilder * * * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The description. */ java.lang.String getDescription(); /** @@ -194,6 +222,8 @@ public interface AgentOrBuilder * * * string description = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); @@ -209,6 +239,8 @@ public interface AgentOrBuilder * * * string avatar_uri = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The avatarUri. */ java.lang.String getAvatarUri(); /** @@ -223,6 +255,8 @@ public interface AgentOrBuilder * * * string avatar_uri = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for avatarUri. */ com.google.protobuf.ByteString getAvatarUriBytes(); @@ -234,6 +268,8 @@ public interface AgentOrBuilder * * * bool enable_logging = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enableLogging. */ boolean getEnableLogging(); @@ -247,6 +283,8 @@ public interface AgentOrBuilder * * .google.cloud.dialogflow.v2.Agent.MatchMode match_mode = 9 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The enum numeric value on the wire for matchMode. */ int getMatchModeValue(); /** @@ -259,6 +297,8 @@ public interface AgentOrBuilder * * .google.cloud.dialogflow.v2.Agent.MatchMode match_mode = 9 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The matchMode. */ com.google.cloud.dialogflow.v2.Agent.MatchMode getMatchMode(); @@ -276,6 +316,8 @@ public interface AgentOrBuilder * * * float classification_threshold = 10 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The classificationThreshold. */ float getClassificationThreshold(); @@ -292,6 +334,8 @@ public interface AgentOrBuilder * * .google.cloud.dialogflow.v2.Agent.ApiVersion api_version = 14 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The enum numeric value on the wire for apiVersion. */ int getApiVersionValue(); /** @@ -307,6 +351,8 @@ public interface AgentOrBuilder * * .google.cloud.dialogflow.v2.Agent.ApiVersion api_version = 14 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The apiVersion. */ com.google.cloud.dialogflow.v2.Agent.ApiVersion getApiVersion(); @@ -320,6 +366,8 @@ public interface AgentOrBuilder * * .google.cloud.dialogflow.v2.Agent.Tier tier = 15 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The enum numeric value on the wire for tier. */ int getTierValue(); /** @@ -332,6 +380,8 @@ public interface AgentOrBuilder * * .google.cloud.dialogflow.v2.Agent.Tier tier = 15 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The tier. */ com.google.cloud.dialogflow.v2.Agent.Tier getTier(); } diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentProto.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentProto.java index 4c6d347bf..df45d1709 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentProto.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AgentProto.java @@ -180,26 +180,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "low/v2;dialogflow\370\001\001\242\002\002DF\252\002\032Google.Cloud" + ".Dialogflow.V2b\006proto3" }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }, - assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); internal_static_google_cloud_dialogflow_v2_Agent_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_dialogflow_v2_Agent_fieldAccessorTable = diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AudioConfigProto.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AudioConfigProto.java index 5f17acc60..07239a244 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AudioConfigProto.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AudioConfigProto.java @@ -99,23 +99,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\001\242\002\002DF\252\002\032Google.Cloud.Dialogflow.V2b\006pro" + "to3" }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }, - assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), + }); internal_static_google_cloud_dialogflow_v2_InputAudioConfig_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_dialogflow_v2_InputAudioConfig_fieldAccessorTable = diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AudioEncoding.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AudioEncoding.java index fde16461f..dd9a3cba2 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AudioEncoding.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/AudioEncoding.java @@ -240,12 +240,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static AudioEncoding valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static AudioEncoding forNumber(int value) { switch (value) { case 0: diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequest.java index 278b20dc4..31df322c1 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequest.java @@ -43,6 +43,12 @@ private BatchCreateEntitiesRequest() { languageCode_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BatchCreateEntitiesRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -76,10 +82,10 @@ private BatchCreateEntitiesRequest( } case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { entities_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } entities_.add( input.readMessage( @@ -108,7 +114,7 @@ private BatchCreateEntitiesRequest( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { entities_ = java.util.Collections.unmodifiableList(entities_); } this.unknownFields = unknownFields.build(); @@ -131,7 +137,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.dialogflow.v2.BatchCreateEntitiesRequest.Builder.class); } - private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** @@ -145,6 +150,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -168,6 +175,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -270,6 +279,8 @@ public com.google.cloud.dialogflow.v2.EntityType.EntityOrBuilder getEntitiesOrBu * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -295,6 +306,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -539,7 +552,7 @@ public Builder clear() { if (entitiesBuilder_ == null) { entities_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { entitiesBuilder_.clear(); } @@ -573,19 +586,17 @@ public com.google.cloud.dialogflow.v2.BatchCreateEntitiesRequest buildPartial() com.google.cloud.dialogflow.v2.BatchCreateEntitiesRequest result = new com.google.cloud.dialogflow.v2.BatchCreateEntitiesRequest(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.parent_ = parent_; if (entitiesBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { entities_ = java.util.Collections.unmodifiableList(entities_); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } result.entities_ = entities_; } else { result.entities_ = entitiesBuilder_.build(); } result.languageCode_ = languageCode_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -644,7 +655,7 @@ public Builder mergeFrom(com.google.cloud.dialogflow.v2.BatchCreateEntitiesReque if (!other.entities_.isEmpty()) { if (entities_.isEmpty()) { entities_ = other.entities_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureEntitiesIsMutable(); entities_.addAll(other.entities_); @@ -657,7 +668,7 @@ public Builder mergeFrom(com.google.cloud.dialogflow.v2.BatchCreateEntitiesReque entitiesBuilder_.dispose(); entitiesBuilder_ = null; entities_ = other.entities_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); entitiesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getEntitiesFieldBuilder() @@ -715,6 +726,8 @@ public Builder mergeFrom( * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -738,6 +751,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -761,6 +776,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -782,6 +800,8 @@ public Builder setParent(java.lang.String value) { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -800,6 +820,9 @@ public Builder clearParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -816,10 +839,10 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { java.util.Collections.emptyList(); private void ensureEntitiesIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { entities_ = new java.util.ArrayList(entities_); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; } } @@ -1057,7 +1080,7 @@ public Builder addAllEntities( public Builder clearEntities() { if (entitiesBuilder_ == null) { entities_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { entitiesBuilder_.clear(); @@ -1194,7 +1217,7 @@ public com.google.cloud.dialogflow.v2.EntityType.Entity.Builder addEntitiesBuild com.google.cloud.dialogflow.v2.EntityType.Entity, com.google.cloud.dialogflow.v2.EntityType.Entity.Builder, com.google.cloud.dialogflow.v2.EntityType.EntityOrBuilder>( - entities_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + entities_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); entities_ = null; } return entitiesBuilder_; @@ -1214,6 +1237,8 @@ public com.google.cloud.dialogflow.v2.EntityType.Entity.Builder addEntitiesBuild * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -1239,6 +1264,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -1264,6 +1291,9 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCode(java.lang.String value) { if (value == null) { @@ -1287,6 +1317,8 @@ public Builder setLanguageCode(java.lang.String value) { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearLanguageCode() { @@ -1307,6 +1339,9 @@ public Builder clearLanguageCode() { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequestOrBuilder.java index a36186e1d..524df99fe 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchCreateEntitiesRequestOrBuilder.java @@ -34,6 +34,8 @@ public interface BatchCreateEntitiesRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ java.lang.String getParent(); /** @@ -47,6 +49,8 @@ public interface BatchCreateEntitiesRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -125,6 +129,8 @@ public interface BatchCreateEntitiesRequestOrBuilder * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The languageCode. */ java.lang.String getLanguageCode(); /** @@ -140,6 +146,8 @@ public interface BatchCreateEntitiesRequestOrBuilder * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for languageCode. */ com.google.protobuf.ByteString getLanguageCodeBytes(); } diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequest.java index b615bcd1b..672f1f261 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequest.java @@ -43,6 +43,12 @@ private BatchDeleteEntitiesRequest() { languageCode_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BatchDeleteEntitiesRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -77,9 +83,9 @@ private BatchDeleteEntitiesRequest( case 18: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { entityValues_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } entityValues_.add(s); break; @@ -105,7 +111,7 @@ private BatchDeleteEntitiesRequest( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { entityValues_ = entityValues_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -128,7 +134,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.dialogflow.v2.BatchDeleteEntitiesRequest.Builder.class); } - private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** @@ -142,6 +147,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -165,6 +172,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -190,6 +199,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * * repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the entityValues. */ public com.google.protobuf.ProtocolStringList getEntityValuesList() { return entityValues_; @@ -204,6 +215,8 @@ public com.google.protobuf.ProtocolStringList getEntityValuesList() { * * * repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of entityValues. */ public int getEntityValuesCount() { return entityValues_.size(); @@ -218,6 +231,9 @@ public int getEntityValuesCount() { * * * repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The entityValues at the given index. */ public java.lang.String getEntityValues(int index) { return entityValues_.get(index); @@ -232,6 +248,9 @@ public java.lang.String getEntityValues(int index) { * * * repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the entityValues at the given index. */ public com.google.protobuf.ByteString getEntityValuesBytes(int index) { return entityValues_.getByteString(index); @@ -252,6 +271,8 @@ public com.google.protobuf.ByteString getEntityValuesBytes(int index) { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -277,6 +298,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -523,7 +546,7 @@ public Builder clear() { parent_ = ""; entityValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); languageCode_ = ""; return this; @@ -554,15 +577,13 @@ public com.google.cloud.dialogflow.v2.BatchDeleteEntitiesRequest buildPartial() com.google.cloud.dialogflow.v2.BatchDeleteEntitiesRequest result = new com.google.cloud.dialogflow.v2.BatchDeleteEntitiesRequest(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.parent_ = parent_; - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { entityValues_ = entityValues_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } result.entityValues_ = entityValues_; result.languageCode_ = languageCode_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -620,7 +641,7 @@ public Builder mergeFrom(com.google.cloud.dialogflow.v2.BatchDeleteEntitiesReque if (!other.entityValues_.isEmpty()) { if (entityValues_.isEmpty()) { entityValues_ = other.entityValues_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureEntityValuesIsMutable(); entityValues_.addAll(other.entityValues_); @@ -675,6 +696,8 @@ public Builder mergeFrom( * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -698,6 +721,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -721,6 +746,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -742,6 +770,8 @@ public Builder setParent(java.lang.String value) { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -760,6 +790,9 @@ public Builder clearParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -776,9 +809,9 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureEntityValuesIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { entityValues_ = new com.google.protobuf.LazyStringArrayList(entityValues_); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; } } /** @@ -791,6 +824,8 @@ private void ensureEntityValuesIsMutable() { * * * repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the entityValues. */ public com.google.protobuf.ProtocolStringList getEntityValuesList() { return entityValues_.getUnmodifiableView(); @@ -805,6 +840,8 @@ public com.google.protobuf.ProtocolStringList getEntityValuesList() { * * * repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of entityValues. */ public int getEntityValuesCount() { return entityValues_.size(); @@ -819,6 +856,9 @@ public int getEntityValuesCount() { * * * repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The entityValues at the given index. */ public java.lang.String getEntityValues(int index) { return entityValues_.get(index); @@ -833,6 +873,9 @@ public java.lang.String getEntityValues(int index) { * * * repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the entityValues at the given index. */ public com.google.protobuf.ByteString getEntityValuesBytes(int index) { return entityValues_.getByteString(index); @@ -847,6 +890,10 @@ public com.google.protobuf.ByteString getEntityValuesBytes(int index) { * * * repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index to set the value at. + * @param value The entityValues to set. + * @return This builder for chaining. */ public Builder setEntityValues(int index, java.lang.String value) { if (value == null) { @@ -867,6 +914,9 @@ public Builder setEntityValues(int index, java.lang.String value) { * * * repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The entityValues to add. + * @return This builder for chaining. */ public Builder addEntityValues(java.lang.String value) { if (value == null) { @@ -887,6 +937,9 @@ public Builder addEntityValues(java.lang.String value) { * * * repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param values The entityValues to add. + * @return This builder for chaining. */ public Builder addAllEntityValues(java.lang.Iterable values) { ensureEntityValuesIsMutable(); @@ -904,10 +957,12 @@ public Builder addAllEntityValues(java.lang.Iterable values) { * * * repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearEntityValues() { entityValues_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -921,6 +976,9 @@ public Builder clearEntityValues() { * * * repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes of the entityValues to add. + * @return This builder for chaining. */ public Builder addEntityValuesBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -947,6 +1005,8 @@ public Builder addEntityValuesBytes(com.google.protobuf.ByteString value) { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -972,6 +1032,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -997,6 +1059,9 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCode(java.lang.String value) { if (value == null) { @@ -1020,6 +1085,8 @@ public Builder setLanguageCode(java.lang.String value) { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearLanguageCode() { @@ -1040,6 +1107,9 @@ public Builder clearLanguageCode() { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequestOrBuilder.java index c3b23dc36..e3f994b99 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntitiesRequestOrBuilder.java @@ -34,6 +34,8 @@ public interface BatchDeleteEntitiesRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ java.lang.String getParent(); /** @@ -47,6 +49,8 @@ public interface BatchDeleteEntitiesRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -60,6 +64,8 @@ public interface BatchDeleteEntitiesRequestOrBuilder * * * repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the entityValues. */ java.util.List getEntityValuesList(); /** @@ -72,6 +78,8 @@ public interface BatchDeleteEntitiesRequestOrBuilder * * * repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of entityValues. */ int getEntityValuesCount(); /** @@ -84,6 +92,9 @@ public interface BatchDeleteEntitiesRequestOrBuilder * * * repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The entityValues at the given index. */ java.lang.String getEntityValues(int index); /** @@ -96,6 +107,9 @@ public interface BatchDeleteEntitiesRequestOrBuilder * * * repeated string entity_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the entityValues at the given index. */ com.google.protobuf.ByteString getEntityValuesBytes(int index); @@ -112,6 +126,8 @@ public interface BatchDeleteEntitiesRequestOrBuilder * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The languageCode. */ java.lang.String getLanguageCode(); /** @@ -127,6 +143,8 @@ public interface BatchDeleteEntitiesRequestOrBuilder * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for languageCode. */ com.google.protobuf.ByteString getLanguageCodeBytes(); } diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntityTypesRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntityTypesRequest.java index ec75daa29..386adf908 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntityTypesRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntityTypesRequest.java @@ -42,6 +42,12 @@ private BatchDeleteEntityTypesRequest() { entityTypeNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BatchDeleteEntityTypesRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -76,9 +82,9 @@ private BatchDeleteEntityTypesRequest( case 18: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { entityTypeNames_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } entityTypeNames_.add(s); break; @@ -97,7 +103,7 @@ private BatchDeleteEntityTypesRequest( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { entityTypeNames_ = entityTypeNames_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -120,7 +126,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.dialogflow.v2.BatchDeleteEntityTypesRequest.Builder.class); } - private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** @@ -134,6 +139,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -157,6 +164,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -181,6 +190,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * * repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the entityTypeNames. */ public com.google.protobuf.ProtocolStringList getEntityTypeNamesList() { return entityTypeNames_; @@ -194,6 +205,8 @@ public com.google.protobuf.ProtocolStringList getEntityTypeNamesList() { * * * repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of entityTypeNames. */ public int getEntityTypeNamesCount() { return entityTypeNames_.size(); @@ -207,6 +220,9 @@ public int getEntityTypeNamesCount() { * * * repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The entityTypeNames at the given index. */ public java.lang.String getEntityTypeNames(int index) { return entityTypeNames_.get(index); @@ -220,6 +236,9 @@ public java.lang.String getEntityTypeNames(int index) { * * * repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the entityTypeNames at the given index. */ public com.google.protobuf.ByteString getEntityTypeNamesBytes(int index) { return entityTypeNames_.getByteString(index); @@ -449,7 +468,7 @@ public Builder clear() { parent_ = ""; entityTypeNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); return this; } @@ -479,14 +498,12 @@ public com.google.cloud.dialogflow.v2.BatchDeleteEntityTypesRequest buildPartial com.google.cloud.dialogflow.v2.BatchDeleteEntityTypesRequest result = new com.google.cloud.dialogflow.v2.BatchDeleteEntityTypesRequest(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.parent_ = parent_; - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { entityTypeNames_ = entityTypeNames_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } result.entityTypeNames_ = entityTypeNames_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -545,7 +562,7 @@ public Builder mergeFrom(com.google.cloud.dialogflow.v2.BatchDeleteEntityTypesRe if (!other.entityTypeNames_.isEmpty()) { if (entityTypeNames_.isEmpty()) { entityTypeNames_ = other.entityTypeNames_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureEntityTypeNamesIsMutable(); entityTypeNames_.addAll(other.entityTypeNames_); @@ -596,6 +613,8 @@ public Builder mergeFrom( * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -619,6 +638,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -642,6 +663,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -663,6 +687,8 @@ public Builder setParent(java.lang.String value) { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -681,6 +707,9 @@ public Builder clearParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -697,9 +726,9 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureEntityTypeNamesIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { entityTypeNames_ = new com.google.protobuf.LazyStringArrayList(entityTypeNames_); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; } } /** @@ -711,6 +740,8 @@ private void ensureEntityTypeNamesIsMutable() { * * * repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the entityTypeNames. */ public com.google.protobuf.ProtocolStringList getEntityTypeNamesList() { return entityTypeNames_.getUnmodifiableView(); @@ -724,6 +755,8 @@ public com.google.protobuf.ProtocolStringList getEntityTypeNamesList() { * * * repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of entityTypeNames. */ public int getEntityTypeNamesCount() { return entityTypeNames_.size(); @@ -737,6 +770,9 @@ public int getEntityTypeNamesCount() { * * * repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The entityTypeNames at the given index. */ public java.lang.String getEntityTypeNames(int index) { return entityTypeNames_.get(index); @@ -750,6 +786,9 @@ public java.lang.String getEntityTypeNames(int index) { * * * repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the entityTypeNames at the given index. */ public com.google.protobuf.ByteString getEntityTypeNamesBytes(int index) { return entityTypeNames_.getByteString(index); @@ -763,6 +802,10 @@ public com.google.protobuf.ByteString getEntityTypeNamesBytes(int index) { * * * repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index to set the value at. + * @param value The entityTypeNames to set. + * @return This builder for chaining. */ public Builder setEntityTypeNames(int index, java.lang.String value) { if (value == null) { @@ -782,6 +825,9 @@ public Builder setEntityTypeNames(int index, java.lang.String value) { * * * repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The entityTypeNames to add. + * @return This builder for chaining. */ public Builder addEntityTypeNames(java.lang.String value) { if (value == null) { @@ -801,6 +847,9 @@ public Builder addEntityTypeNames(java.lang.String value) { * * * repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param values The entityTypeNames to add. + * @return This builder for chaining. */ public Builder addAllEntityTypeNames(java.lang.Iterable values) { ensureEntityTypeNamesIsMutable(); @@ -817,10 +866,12 @@ public Builder addAllEntityTypeNames(java.lang.Iterable values * * * repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearEntityTypeNames() { entityTypeNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -833,6 +884,9 @@ public Builder clearEntityTypeNames() { * * * repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes of the entityTypeNames to add. + * @return This builder for chaining. */ public Builder addEntityTypeNamesBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntityTypesRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntityTypesRequestOrBuilder.java index 0f6053105..259a44f7c 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntityTypesRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteEntityTypesRequestOrBuilder.java @@ -34,6 +34,8 @@ public interface BatchDeleteEntityTypesRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ java.lang.String getParent(); /** @@ -47,6 +49,8 @@ public interface BatchDeleteEntityTypesRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -59,6 +63,8 @@ public interface BatchDeleteEntityTypesRequestOrBuilder * * * repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the entityTypeNames. */ java.util.List getEntityTypeNamesList(); /** @@ -70,6 +76,8 @@ public interface BatchDeleteEntityTypesRequestOrBuilder * * * repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of entityTypeNames. */ int getEntityTypeNamesCount(); /** @@ -81,6 +89,9 @@ public interface BatchDeleteEntityTypesRequestOrBuilder * * * repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The entityTypeNames at the given index. */ java.lang.String getEntityTypeNames(int index); /** @@ -92,6 +103,9 @@ public interface BatchDeleteEntityTypesRequestOrBuilder * * * repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the entityTypeNames at the given index. */ com.google.protobuf.ByteString getEntityTypeNamesBytes(int index); } diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteIntentsRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteIntentsRequest.java index e177e41c9..ad8d078fa 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteIntentsRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteIntentsRequest.java @@ -42,6 +42,12 @@ private BatchDeleteIntentsRequest() { intents_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BatchDeleteIntentsRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -75,9 +81,9 @@ private BatchDeleteIntentsRequest( } case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { intents_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } intents_.add( input.readMessage( @@ -98,7 +104,7 @@ private BatchDeleteIntentsRequest( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { intents_ = java.util.Collections.unmodifiableList(intents_); } this.unknownFields = unknownFields.build(); @@ -121,7 +127,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.dialogflow.v2.BatchDeleteIntentsRequest.Builder.class); } - private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** @@ -135,6 +140,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -158,6 +165,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -472,7 +481,7 @@ public Builder clear() { if (intentsBuilder_ == null) { intents_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { intentsBuilder_.clear(); } @@ -504,18 +513,16 @@ public com.google.cloud.dialogflow.v2.BatchDeleteIntentsRequest buildPartial() { com.google.cloud.dialogflow.v2.BatchDeleteIntentsRequest result = new com.google.cloud.dialogflow.v2.BatchDeleteIntentsRequest(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.parent_ = parent_; if (intentsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { intents_ = java.util.Collections.unmodifiableList(intents_); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } result.intents_ = intents_; } else { result.intents_ = intentsBuilder_.build(); } - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -574,7 +581,7 @@ public Builder mergeFrom(com.google.cloud.dialogflow.v2.BatchDeleteIntentsReques if (!other.intents_.isEmpty()) { if (intents_.isEmpty()) { intents_ = other.intents_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureIntentsIsMutable(); intents_.addAll(other.intents_); @@ -587,7 +594,7 @@ public Builder mergeFrom(com.google.cloud.dialogflow.v2.BatchDeleteIntentsReques intentsBuilder_.dispose(); intentsBuilder_ = null; intents_ = other.intents_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); intentsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getIntentsFieldBuilder() @@ -641,6 +648,8 @@ public Builder mergeFrom( * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -664,6 +673,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -687,6 +698,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -708,6 +722,8 @@ public Builder setParent(java.lang.String value) { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -726,6 +742,9 @@ public Builder clearParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -742,9 +761,9 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { java.util.Collections.emptyList(); private void ensureIntentsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { intents_ = new java.util.ArrayList(intents_); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; } } @@ -992,7 +1011,7 @@ public Builder addAllIntents( public Builder clearIntents() { if (intentsBuilder_ == null) { intents_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { intentsBuilder_.clear(); @@ -1134,7 +1153,7 @@ public java.util.List getIntentsB com.google.cloud.dialogflow.v2.Intent, com.google.cloud.dialogflow.v2.Intent.Builder, com.google.cloud.dialogflow.v2.IntentOrBuilder>( - intents_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + intents_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); intents_ = null; } return intentsBuilder_; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteIntentsRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteIntentsRequestOrBuilder.java index f0a198f89..7117169c2 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteIntentsRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchDeleteIntentsRequestOrBuilder.java @@ -34,6 +34,8 @@ public interface BatchDeleteIntentsRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ java.lang.String getParent(); /** @@ -47,6 +49,8 @@ public interface BatchDeleteIntentsRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequest.java index edcb7b625..ef1756764 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequest.java @@ -43,6 +43,12 @@ private BatchUpdateEntitiesRequest() { languageCode_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BatchUpdateEntitiesRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -76,10 +82,10 @@ private BatchUpdateEntitiesRequest( } case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { entities_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } entities_.add( input.readMessage( @@ -123,7 +129,7 @@ private BatchUpdateEntitiesRequest( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { entities_ = java.util.Collections.unmodifiableList(entities_); } this.unknownFields = unknownFields.build(); @@ -146,7 +152,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.dialogflow.v2.BatchUpdateEntitiesRequest.Builder.class); } - private int bitField0_; public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** @@ -160,6 +165,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -183,6 +190,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -285,6 +294,8 @@ public com.google.cloud.dialogflow.v2.EntityType.EntityOrBuilder getEntitiesOrBu * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -310,6 +321,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -334,6 +347,8 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMask_ != null; @@ -347,6 +362,8 @@ public boolean hasUpdateMask() { * * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; @@ -610,7 +627,7 @@ public Builder clear() { if (entitiesBuilder_ == null) { entities_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { entitiesBuilder_.clear(); } @@ -650,12 +667,11 @@ public com.google.cloud.dialogflow.v2.BatchUpdateEntitiesRequest buildPartial() com.google.cloud.dialogflow.v2.BatchUpdateEntitiesRequest result = new com.google.cloud.dialogflow.v2.BatchUpdateEntitiesRequest(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.parent_ = parent_; if (entitiesBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { entities_ = java.util.Collections.unmodifiableList(entities_); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } result.entities_ = entities_; } else { @@ -667,7 +683,6 @@ public com.google.cloud.dialogflow.v2.BatchUpdateEntitiesRequest buildPartial() } else { result.updateMask_ = updateMaskBuilder_.build(); } - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -726,7 +741,7 @@ public Builder mergeFrom(com.google.cloud.dialogflow.v2.BatchUpdateEntitiesReque if (!other.entities_.isEmpty()) { if (entities_.isEmpty()) { entities_ = other.entities_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureEntitiesIsMutable(); entities_.addAll(other.entities_); @@ -739,7 +754,7 @@ public Builder mergeFrom(com.google.cloud.dialogflow.v2.BatchUpdateEntitiesReque entitiesBuilder_.dispose(); entitiesBuilder_ = null; entities_ = other.entities_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); entitiesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getEntitiesFieldBuilder() @@ -800,6 +815,8 @@ public Builder mergeFrom( * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -823,6 +840,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -846,6 +865,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -867,6 +889,8 @@ public Builder setParent(java.lang.String value) { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -885,6 +909,9 @@ public Builder clearParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -901,10 +928,10 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { java.util.Collections.emptyList(); private void ensureEntitiesIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { entities_ = new java.util.ArrayList(entities_); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; } } @@ -1142,7 +1169,7 @@ public Builder addAllEntities( public Builder clearEntities() { if (entitiesBuilder_ == null) { entities_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { entitiesBuilder_.clear(); @@ -1279,7 +1306,7 @@ public com.google.cloud.dialogflow.v2.EntityType.Entity.Builder addEntitiesBuild com.google.cloud.dialogflow.v2.EntityType.Entity, com.google.cloud.dialogflow.v2.EntityType.Entity.Builder, com.google.cloud.dialogflow.v2.EntityType.EntityOrBuilder>( - entities_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + entities_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); entities_ = null; } return entitiesBuilder_; @@ -1299,6 +1326,8 @@ public com.google.cloud.dialogflow.v2.EntityType.Entity.Builder addEntitiesBuild * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -1324,6 +1353,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -1349,6 +1380,9 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCode(java.lang.String value) { if (value == null) { @@ -1372,6 +1406,8 @@ public Builder setLanguageCode(java.lang.String value) { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearLanguageCode() { @@ -1392,6 +1428,9 @@ public Builder clearLanguageCode() { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1419,6 +1458,8 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { * * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; @@ -1432,6 +1473,8 @@ public boolean hasUpdateMask() { * * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequestOrBuilder.java index ef85cab36..6f741005b 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntitiesRequestOrBuilder.java @@ -34,6 +34,8 @@ public interface BatchUpdateEntitiesRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ java.lang.String getParent(); /** @@ -47,6 +49,8 @@ public interface BatchUpdateEntitiesRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -125,6 +129,8 @@ public interface BatchUpdateEntitiesRequestOrBuilder * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The languageCode. */ java.lang.String getLanguageCode(); /** @@ -140,6 +146,8 @@ public interface BatchUpdateEntitiesRequestOrBuilder * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for languageCode. */ com.google.protobuf.ByteString getLanguageCodeBytes(); @@ -152,6 +160,8 @@ public interface BatchUpdateEntitiesRequestOrBuilder * * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** @@ -163,6 +173,8 @@ public interface BatchUpdateEntitiesRequestOrBuilder * * .google.protobuf.FieldMask update_mask = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequest.java index 4c11921cd..6dae77606 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequest.java @@ -42,6 +42,12 @@ private BatchUpdateEntityTypesRequest() { languageCode_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BatchUpdateEntityTypesRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private BatchUpdateEntityTypesRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -157,7 +162,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { private int entityTypeBatchCase_ = 0; private java.lang.Object entityTypeBatch_; - public enum EntityTypeBatchCase implements com.google.protobuf.Internal.EnumLite { + public enum EntityTypeBatchCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { ENTITY_TYPE_BATCH_URI(2), ENTITY_TYPE_BATCH_INLINE(3), ENTITYTYPEBATCH_NOT_SET(0); @@ -166,7 +174,11 @@ public enum EntityTypeBatchCase implements com.google.protobuf.Internal.EnumLite private EntityTypeBatchCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static EntityTypeBatchCase valueOf(int value) { return forNumber(value); @@ -207,6 +219,8 @@ public EntityTypeBatchCase getEntityTypeBatchCase() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -230,6 +244,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -255,6 +271,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * * string entity_type_batch_uri = 2; + * + * @return The entityTypeBatchUri. */ public java.lang.String getEntityTypeBatchUri() { java.lang.Object ref = ""; @@ -283,6 +301,8 @@ public java.lang.String getEntityTypeBatchUri() { * * * string entity_type_batch_uri = 2; + * + * @return The bytes for entityTypeBatchUri. */ public com.google.protobuf.ByteString getEntityTypeBatchUriBytes() { java.lang.Object ref = ""; @@ -310,6 +330,8 @@ public com.google.protobuf.ByteString getEntityTypeBatchUriBytes() { * * * .google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3; + * + * @return Whether the entityTypeBatchInline field is set. */ public boolean hasEntityTypeBatchInline() { return entityTypeBatchCase_ == 3; @@ -322,6 +344,8 @@ public boolean hasEntityTypeBatchInline() { * * * .google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3; + * + * @return The entityTypeBatchInline. */ public com.google.cloud.dialogflow.v2.EntityTypeBatch getEntityTypeBatchInline() { if (entityTypeBatchCase_ == 3) { @@ -361,6 +385,8 @@ public com.google.cloud.dialogflow.v2.EntityTypeBatch getEntityTypeBatchInline() * * * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -386,6 +412,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -410,6 +438,8 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMask_ != null; @@ -423,6 +453,8 @@ public boolean hasUpdateMask() { * * .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; @@ -900,6 +932,8 @@ public Builder clearEntityTypeBatch() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -923,6 +957,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -946,6 +982,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -967,6 +1006,8 @@ public Builder setParent(java.lang.String value) { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -985,6 +1026,9 @@ public Builder clearParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1008,6 +1052,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * * string entity_type_batch_uri = 2; + * + * @return The entityTypeBatchUri. */ public java.lang.String getEntityTypeBatchUri() { java.lang.Object ref = ""; @@ -1036,6 +1082,8 @@ public java.lang.String getEntityTypeBatchUri() { * * * string entity_type_batch_uri = 2; + * + * @return The bytes for entityTypeBatchUri. */ public com.google.protobuf.ByteString getEntityTypeBatchUriBytes() { java.lang.Object ref = ""; @@ -1064,6 +1112,9 @@ public com.google.protobuf.ByteString getEntityTypeBatchUriBytes() { * * * string entity_type_batch_uri = 2; + * + * @param value The entityTypeBatchUri to set. + * @return This builder for chaining. */ public Builder setEntityTypeBatchUri(java.lang.String value) { if (value == null) { @@ -1085,6 +1136,8 @@ public Builder setEntityTypeBatchUri(java.lang.String value) { * * * string entity_type_batch_uri = 2; + * + * @return This builder for chaining. */ public Builder clearEntityTypeBatchUri() { if (entityTypeBatchCase_ == 2) { @@ -1105,6 +1158,9 @@ public Builder clearEntityTypeBatchUri() { * * * string entity_type_batch_uri = 2; + * + * @param value The bytes for entityTypeBatchUri to set. + * @return This builder for chaining. */ public Builder setEntityTypeBatchUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1130,6 +1186,8 @@ public Builder setEntityTypeBatchUriBytes(com.google.protobuf.ByteString value) * * * .google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3; + * + * @return Whether the entityTypeBatchInline field is set. */ public boolean hasEntityTypeBatchInline() { return entityTypeBatchCase_ == 3; @@ -1142,6 +1200,8 @@ public boolean hasEntityTypeBatchInline() { * * * .google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3; + * + * @return The entityTypeBatchInline. */ public com.google.cloud.dialogflow.v2.EntityTypeBatch getEntityTypeBatchInline() { if (entityTypeBatchInlineBuilder_ == null) { @@ -1337,6 +1397,8 @@ public Builder clearEntityTypeBatchInline() { * * * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -1362,6 +1424,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -1387,6 +1451,9 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCode(java.lang.String value) { if (value == null) { @@ -1410,6 +1477,8 @@ public Builder setLanguageCode(java.lang.String value) { * * * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearLanguageCode() { @@ -1430,6 +1499,9 @@ public Builder clearLanguageCode() { * * * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1457,6 +1529,8 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { * * .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; @@ -1470,6 +1544,8 @@ public boolean hasUpdateMask() { * * .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequestOrBuilder.java index a4a3340ee..3734e7ebf 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesRequestOrBuilder.java @@ -34,6 +34,8 @@ public interface BatchUpdateEntityTypesRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ java.lang.String getParent(); /** @@ -47,6 +49,8 @@ public interface BatchUpdateEntityTypesRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -61,6 +65,8 @@ public interface BatchUpdateEntityTypesRequestOrBuilder * * * string entity_type_batch_uri = 2; + * + * @return The entityTypeBatchUri. */ java.lang.String getEntityTypeBatchUri(); /** @@ -74,6 +80,8 @@ public interface BatchUpdateEntityTypesRequestOrBuilder * * * string entity_type_batch_uri = 2; + * + * @return The bytes for entityTypeBatchUri. */ com.google.protobuf.ByteString getEntityTypeBatchUriBytes(); @@ -85,6 +93,8 @@ public interface BatchUpdateEntityTypesRequestOrBuilder * * * .google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3; + * + * @return Whether the entityTypeBatchInline field is set. */ boolean hasEntityTypeBatchInline(); /** @@ -95,6 +105,8 @@ public interface BatchUpdateEntityTypesRequestOrBuilder * * * .google.cloud.dialogflow.v2.EntityTypeBatch entity_type_batch_inline = 3; + * + * @return The entityTypeBatchInline. */ com.google.cloud.dialogflow.v2.EntityTypeBatch getEntityTypeBatchInline(); /** @@ -121,6 +133,8 @@ public interface BatchUpdateEntityTypesRequestOrBuilder * * * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The languageCode. */ java.lang.String getLanguageCode(); /** @@ -136,6 +150,8 @@ public interface BatchUpdateEntityTypesRequestOrBuilder * * * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for languageCode. */ com.google.protobuf.ByteString getLanguageCodeBytes(); @@ -148,6 +164,8 @@ public interface BatchUpdateEntityTypesRequestOrBuilder * * .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** @@ -159,6 +177,8 @@ public interface BatchUpdateEntityTypesRequestOrBuilder * * .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesResponse.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesResponse.java index a0c9e3d00..67c728b89 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesResponse.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateEntityTypesResponse.java @@ -42,6 +42,12 @@ private BatchUpdateEntityTypesResponse() { entityTypes_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BatchUpdateEntityTypesResponse(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequest.java index f4be892c8..ca10eae2a 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequest.java @@ -43,6 +43,12 @@ private BatchUpdateIntentsRequest() { intentView_ = 0; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BatchUpdateIntentsRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private BatchUpdateIntentsRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -164,7 +169,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { private int intentBatchCase_ = 0; private java.lang.Object intentBatch_; - public enum IntentBatchCase implements com.google.protobuf.Internal.EnumLite { + public enum IntentBatchCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { INTENT_BATCH_URI(2), INTENT_BATCH_INLINE(3), INTENTBATCH_NOT_SET(0); @@ -173,7 +181,11 @@ public enum IntentBatchCase implements com.google.protobuf.Internal.EnumLite { private IntentBatchCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static IntentBatchCase valueOf(int value) { return forNumber(value); @@ -214,6 +226,8 @@ public IntentBatchCase getIntentBatchCase() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -237,6 +251,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -261,6 +277,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * * string intent_batch_uri = 2; + * + * @return The intentBatchUri. */ public java.lang.String getIntentBatchUri() { java.lang.Object ref = ""; @@ -288,6 +306,8 @@ public java.lang.String getIntentBatchUri() { * * * string intent_batch_uri = 2; + * + * @return The bytes for intentBatchUri. */ public com.google.protobuf.ByteString getIntentBatchUriBytes() { java.lang.Object ref = ""; @@ -315,6 +335,8 @@ public com.google.protobuf.ByteString getIntentBatchUriBytes() { * * * .google.cloud.dialogflow.v2.IntentBatch intent_batch_inline = 3; + * + * @return Whether the intentBatchInline field is set. */ public boolean hasIntentBatchInline() { return intentBatchCase_ == 3; @@ -327,6 +349,8 @@ public boolean hasIntentBatchInline() { * * * .google.cloud.dialogflow.v2.IntentBatch intent_batch_inline = 3; + * + * @return The intentBatchInline. */ public com.google.cloud.dialogflow.v2.IntentBatch getIntentBatchInline() { if (intentBatchCase_ == 3) { @@ -365,6 +389,8 @@ public com.google.cloud.dialogflow.v2.IntentBatchOrBuilder getIntentBatchInlineO * * * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -390,6 +416,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -414,6 +442,8 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMask_ != null; @@ -427,6 +457,8 @@ public boolean hasUpdateMask() { * * .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; @@ -457,6 +489,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * .google.cloud.dialogflow.v2.IntentView intent_view = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The enum numeric value on the wire for intentView. */ public int getIntentViewValue() { return intentView_; @@ -471,6 +505,8 @@ public int getIntentViewValue() { * * .google.cloud.dialogflow.v2.IntentView intent_view = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The intentView. */ public com.google.cloud.dialogflow.v2.IntentView getIntentView() { @SuppressWarnings("deprecation") @@ -953,6 +989,8 @@ public Builder clearIntentBatch() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -976,6 +1014,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -999,6 +1039,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -1020,6 +1063,8 @@ public Builder setParent(java.lang.String value) { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -1038,6 +1083,9 @@ public Builder clearParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1060,6 +1108,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * * string intent_batch_uri = 2; + * + * @return The intentBatchUri. */ public java.lang.String getIntentBatchUri() { java.lang.Object ref = ""; @@ -1087,6 +1137,8 @@ public java.lang.String getIntentBatchUri() { * * * string intent_batch_uri = 2; + * + * @return The bytes for intentBatchUri. */ public com.google.protobuf.ByteString getIntentBatchUriBytes() { java.lang.Object ref = ""; @@ -1114,6 +1166,9 @@ public com.google.protobuf.ByteString getIntentBatchUriBytes() { * * * string intent_batch_uri = 2; + * + * @param value The intentBatchUri to set. + * @return This builder for chaining. */ public Builder setIntentBatchUri(java.lang.String value) { if (value == null) { @@ -1134,6 +1189,8 @@ public Builder setIntentBatchUri(java.lang.String value) { * * * string intent_batch_uri = 2; + * + * @return This builder for chaining. */ public Builder clearIntentBatchUri() { if (intentBatchCase_ == 2) { @@ -1153,6 +1210,9 @@ public Builder clearIntentBatchUri() { * * * string intent_batch_uri = 2; + * + * @param value The bytes for intentBatchUri to set. + * @return This builder for chaining. */ public Builder setIntentBatchUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1178,6 +1238,8 @@ public Builder setIntentBatchUriBytes(com.google.protobuf.ByteString value) { * * * .google.cloud.dialogflow.v2.IntentBatch intent_batch_inline = 3; + * + * @return Whether the intentBatchInline field is set. */ public boolean hasIntentBatchInline() { return intentBatchCase_ == 3; @@ -1190,6 +1252,8 @@ public boolean hasIntentBatchInline() { * * * .google.cloud.dialogflow.v2.IntentBatch intent_batch_inline = 3; + * + * @return The intentBatchInline. */ public com.google.cloud.dialogflow.v2.IntentBatch getIntentBatchInline() { if (intentBatchInlineBuilder_ == null) { @@ -1381,6 +1445,8 @@ public com.google.cloud.dialogflow.v2.IntentBatchOrBuilder getIntentBatchInlineO * * * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -1406,6 +1472,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -1431,6 +1499,9 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCode(java.lang.String value) { if (value == null) { @@ -1454,6 +1525,8 @@ public Builder setLanguageCode(java.lang.String value) { * * * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearLanguageCode() { @@ -1474,6 +1547,9 @@ public Builder clearLanguageCode() { * * * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1501,6 +1577,8 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { * * .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; @@ -1514,6 +1592,8 @@ public boolean hasUpdateMask() { * * .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { @@ -1685,6 +1765,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * .google.cloud.dialogflow.v2.IntentView intent_view = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The enum numeric value on the wire for intentView. */ public int getIntentViewValue() { return intentView_; @@ -1699,6 +1781,9 @@ public int getIntentViewValue() { * * .google.cloud.dialogflow.v2.IntentView intent_view = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The enum numeric value on the wire for intentView to set. + * @return This builder for chaining. */ public Builder setIntentViewValue(int value) { intentView_ = value; @@ -1715,6 +1800,8 @@ public Builder setIntentViewValue(int value) { * * .google.cloud.dialogflow.v2.IntentView intent_view = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The intentView. */ public com.google.cloud.dialogflow.v2.IntentView getIntentView() { @SuppressWarnings("deprecation") @@ -1732,6 +1819,9 @@ public com.google.cloud.dialogflow.v2.IntentView getIntentView() { * * .google.cloud.dialogflow.v2.IntentView intent_view = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The intentView to set. + * @return This builder for chaining. */ public Builder setIntentView(com.google.cloud.dialogflow.v2.IntentView value) { if (value == null) { @@ -1752,6 +1842,8 @@ public Builder setIntentView(com.google.cloud.dialogflow.v2.IntentView value) { * * .google.cloud.dialogflow.v2.IntentView intent_view = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return This builder for chaining. */ public Builder clearIntentView() { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequestOrBuilder.java index 447ae3c54..b6bd7d19d 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsRequestOrBuilder.java @@ -34,6 +34,8 @@ public interface BatchUpdateIntentsRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ java.lang.String getParent(); /** @@ -47,6 +49,8 @@ public interface BatchUpdateIntentsRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -60,6 +64,8 @@ public interface BatchUpdateIntentsRequestOrBuilder * * * string intent_batch_uri = 2; + * + * @return The intentBatchUri. */ java.lang.String getIntentBatchUri(); /** @@ -72,6 +78,8 @@ public interface BatchUpdateIntentsRequestOrBuilder * * * string intent_batch_uri = 2; + * + * @return The bytes for intentBatchUri. */ com.google.protobuf.ByteString getIntentBatchUriBytes(); @@ -83,6 +91,8 @@ public interface BatchUpdateIntentsRequestOrBuilder * * * .google.cloud.dialogflow.v2.IntentBatch intent_batch_inline = 3; + * + * @return Whether the intentBatchInline field is set. */ boolean hasIntentBatchInline(); /** @@ -93,6 +103,8 @@ public interface BatchUpdateIntentsRequestOrBuilder * * * .google.cloud.dialogflow.v2.IntentBatch intent_batch_inline = 3; + * + * @return The intentBatchInline. */ com.google.cloud.dialogflow.v2.IntentBatch getIntentBatchInline(); /** @@ -119,6 +131,8 @@ public interface BatchUpdateIntentsRequestOrBuilder * * * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The languageCode. */ java.lang.String getLanguageCode(); /** @@ -134,6 +148,8 @@ public interface BatchUpdateIntentsRequestOrBuilder * * * string language_code = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for languageCode. */ com.google.protobuf.ByteString getLanguageCodeBytes(); @@ -146,6 +162,8 @@ public interface BatchUpdateIntentsRequestOrBuilder * * .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** @@ -157,6 +175,8 @@ public interface BatchUpdateIntentsRequestOrBuilder * * .google.protobuf.FieldMask update_mask = 5 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** @@ -181,6 +201,8 @@ public interface BatchUpdateIntentsRequestOrBuilder * * .google.cloud.dialogflow.v2.IntentView intent_view = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The enum numeric value on the wire for intentView. */ int getIntentViewValue(); /** @@ -193,6 +215,8 @@ public interface BatchUpdateIntentsRequestOrBuilder * * .google.cloud.dialogflow.v2.IntentView intent_view = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The intentView. */ com.google.cloud.dialogflow.v2.IntentView getIntentView(); diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsResponse.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsResponse.java index 14a2ae796..46157a029 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsResponse.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/BatchUpdateIntentsResponse.java @@ -41,6 +41,12 @@ private BatchUpdateIntentsResponse() { intents_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BatchUpdateIntentsResponse(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Context.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Context.java index a404f5353..ab5040fb0 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Context.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Context.java @@ -41,6 +41,12 @@ private Context() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Context(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private Context( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -139,6 +144,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -162,6 +169,8 @@ public java.lang.String getName() { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -188,6 +197,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * * int32 lifespan_count = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The lifespanCount. */ public int getLifespanCount() { return lifespanCount_; @@ -206,6 +217,8 @@ public int getLifespanCount() { * * * .google.protobuf.Struct parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the parameters field is set. */ public boolean hasParameters() { return parameters_ != null; @@ -221,6 +234,8 @@ public boolean hasParameters() { * * * .google.protobuf.Struct parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The parameters. */ public com.google.protobuf.Struct getParameters() { return parameters_ == null ? com.google.protobuf.Struct.getDefaultInstance() : parameters_; @@ -611,6 +626,8 @@ public Builder mergeFrom( * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -634,6 +651,8 @@ public java.lang.String getName() { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -657,6 +676,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -678,6 +700,8 @@ public Builder setName(java.lang.String value) { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearName() { @@ -696,6 +720,9 @@ public Builder clearName() { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -720,6 +747,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * * int32 lifespan_count = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The lifespanCount. */ public int getLifespanCount() { return lifespanCount_; @@ -735,6 +764,9 @@ public int getLifespanCount() { * * * int32 lifespan_count = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The lifespanCount to set. + * @return This builder for chaining. */ public Builder setLifespanCount(int value) { @@ -753,6 +785,8 @@ public Builder setLifespanCount(int value) { * * * int32 lifespan_count = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearLifespanCount() { @@ -779,6 +813,8 @@ public Builder clearLifespanCount() { * * .google.protobuf.Struct parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the parameters field is set. */ public boolean hasParameters() { return parametersBuilder_ != null || parameters_ != null; @@ -795,6 +831,8 @@ public boolean hasParameters() { * * .google.protobuf.Struct parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The parameters. */ public com.google.protobuf.Struct getParameters() { if (parametersBuilder_ == null) { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextName.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextName.java index 8647e9eed..a0a8ec4fe 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextName.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextName.java @@ -24,7 +24,7 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** AUTO-GENERATED DOCUMENTATION AND CLASS */ @javax.annotation.Generated("by GAPIC protoc plugin") public class ContextName implements ResourceName { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextOrBuilder.java index 81d3ea1f6..3a9dc1a52 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextOrBuilder.java @@ -34,6 +34,8 @@ public interface ContextOrBuilder * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The name. */ java.lang.String getName(); /** @@ -47,6 +49,8 @@ public interface ContextOrBuilder * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -61,6 +65,8 @@ public interface ContextOrBuilder * * * int32 lifespan_count = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The lifespanCount. */ int getLifespanCount(); @@ -75,6 +81,8 @@ public interface ContextOrBuilder * * * .google.protobuf.Struct parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the parameters field is set. */ boolean hasParameters(); /** @@ -88,6 +96,8 @@ public interface ContextOrBuilder * * * .google.protobuf.Struct parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The parameters. */ com.google.protobuf.Struct getParameters(); /** diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextProto.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextProto.java index 0a9f024ef..5a186e4c9 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextProto.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ContextProto.java @@ -131,26 +131,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "w\370\001\001\242\002\002DF\252\002\032Google.Cloud.Dialogflow.V2b\006" + "proto3" }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - }, - assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.StructProto.getDescriptor(), + }); internal_static_google_cloud_dialogflow_v2_Context_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_dialogflow_v2_Context_fieldAccessorTable = diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequest.java index 72096d30c..fa3714330 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequest.java @@ -41,6 +41,12 @@ private CreateContextRequest() { parent_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreateContextRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private CreateContextRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -133,6 +138,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -154,6 +161,8 @@ public java.lang.String getParent() { * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -179,6 +188,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * .google.cloud.dialogflow.v2.Context context = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the context field is set. */ public boolean hasContext() { return context_ != null; @@ -193,6 +204,8 @@ public boolean hasContext() { * * .google.cloud.dialogflow.v2.Context context = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The context. */ public com.google.cloud.dialogflow.v2.Context getContext() { return context_ == null @@ -570,6 +583,8 @@ public Builder mergeFrom( * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -591,6 +606,8 @@ public java.lang.String getParent() { * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -612,6 +629,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -631,6 +651,8 @@ public Builder setParent(java.lang.String value) { * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -647,6 +669,9 @@ public Builder clearParent() { * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -675,6 +700,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dialogflow.v2.Context context = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the context field is set. */ public boolean hasContext() { return contextBuilder_ != null || context_ != null; @@ -689,6 +716,8 @@ public boolean hasContext() { * * .google.cloud.dialogflow.v2.Context context = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The context. */ public com.google.cloud.dialogflow.v2.Context getContext() { if (contextBuilder_ == null) { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequestOrBuilder.java index fcb5f5db7..2f078e305 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateContextRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface CreateContextRequestOrBuilder * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parent. */ java.lang.String getParent(); /** @@ -43,6 +45,8 @@ public interface CreateContextRequestOrBuilder * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -56,6 +60,8 @@ public interface CreateContextRequestOrBuilder * * .google.cloud.dialogflow.v2.Context context = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the context field is set. */ boolean hasContext(); /** @@ -68,6 +74,8 @@ public interface CreateContextRequestOrBuilder * * .google.cloud.dialogflow.v2.Context context = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The context. */ com.google.cloud.dialogflow.v2.Context getContext(); /** diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequest.java index 1fffd1277..9053f27a8 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequest.java @@ -42,6 +42,12 @@ private CreateEntityTypeRequest() { languageCode_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreateEntityTypeRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private CreateEntityTypeRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -143,6 +148,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -166,6 +173,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -191,6 +200,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * .google.cloud.dialogflow.v2.EntityType entity_type = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the entityType field is set. */ public boolean hasEntityType() { return entityType_ != null; @@ -205,6 +216,8 @@ public boolean hasEntityType() { * * .google.cloud.dialogflow.v2.EntityType entity_type = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The entityType. */ public com.google.cloud.dialogflow.v2.EntityType getEntityType() { return entityType_ == null @@ -241,6 +254,8 @@ public com.google.cloud.dialogflow.v2.EntityTypeOrBuilder getEntityTypeOrBuilder * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -266,6 +281,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -654,6 +671,8 @@ public Builder mergeFrom( * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -677,6 +696,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -700,6 +721,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -721,6 +745,8 @@ public Builder setParent(java.lang.String value) { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -739,6 +765,9 @@ public Builder clearParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -767,6 +796,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dialogflow.v2.EntityType entity_type = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the entityType field is set. */ public boolean hasEntityType() { return entityTypeBuilder_ != null || entityType_ != null; @@ -781,6 +812,8 @@ public boolean hasEntityType() { * * .google.cloud.dialogflow.v2.EntityType entity_type = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The entityType. */ public com.google.cloud.dialogflow.v2.EntityType getEntityType() { if (entityTypeBuilder_ == null) { @@ -965,6 +998,8 @@ public com.google.cloud.dialogflow.v2.EntityTypeOrBuilder getEntityTypeOrBuilder * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -990,6 +1025,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -1015,6 +1052,9 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCode(java.lang.String value) { if (value == null) { @@ -1038,6 +1078,8 @@ public Builder setLanguageCode(java.lang.String value) { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearLanguageCode() { @@ -1058,6 +1100,9 @@ public Builder clearLanguageCode() { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequestOrBuilder.java index 2cecfc98d..b3525bb55 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateEntityTypeRequestOrBuilder.java @@ -34,6 +34,8 @@ public interface CreateEntityTypeRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ java.lang.String getParent(); /** @@ -47,6 +49,8 @@ public interface CreateEntityTypeRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -60,6 +64,8 @@ public interface CreateEntityTypeRequestOrBuilder * * .google.cloud.dialogflow.v2.EntityType entity_type = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the entityType field is set. */ boolean hasEntityType(); /** @@ -72,6 +78,8 @@ public interface CreateEntityTypeRequestOrBuilder * * .google.cloud.dialogflow.v2.EntityType entity_type = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The entityType. */ com.google.cloud.dialogflow.v2.EntityType getEntityType(); /** @@ -100,6 +108,8 @@ public interface CreateEntityTypeRequestOrBuilder * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The languageCode. */ java.lang.String getLanguageCode(); /** @@ -115,6 +125,8 @@ public interface CreateEntityTypeRequestOrBuilder * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for languageCode. */ com.google.protobuf.ByteString getLanguageCodeBytes(); } diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequest.java index 0ab20636a..25e76674d 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequest.java @@ -43,6 +43,12 @@ private CreateIntentRequest() { intentView_ = 0; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreateIntentRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private CreateIntentRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -151,6 +156,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -174,6 +181,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -198,6 +207,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * .google.cloud.dialogflow.v2.Intent intent = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the intent field is set. */ public boolean hasIntent() { return intent_ != null; @@ -211,6 +222,8 @@ public boolean hasIntent() { * * .google.cloud.dialogflow.v2.Intent intent = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The intent. */ public com.google.cloud.dialogflow.v2.Intent getIntent() { return intent_ == null ? com.google.cloud.dialogflow.v2.Intent.getDefaultInstance() : intent_; @@ -244,6 +257,8 @@ public com.google.cloud.dialogflow.v2.IntentOrBuilder getIntentOrBuilder() { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -269,6 +284,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -294,6 +311,8 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * .google.cloud.dialogflow.v2.IntentView intent_view = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The enum numeric value on the wire for intentView. */ public int getIntentViewValue() { return intentView_; @@ -308,6 +327,8 @@ public int getIntentViewValue() { * * .google.cloud.dialogflow.v2.IntentView intent_view = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The intentView. */ public com.google.cloud.dialogflow.v2.IntentView getIntentView() { @SuppressWarnings("deprecation") @@ -707,6 +728,8 @@ public Builder mergeFrom( * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -730,6 +753,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -753,6 +778,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -774,6 +802,8 @@ public Builder setParent(java.lang.String value) { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -792,6 +822,9 @@ public Builder clearParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -820,6 +853,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dialogflow.v2.Intent intent = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the intent field is set. */ public boolean hasIntent() { return intentBuilder_ != null || intent_ != null; @@ -834,6 +869,8 @@ public boolean hasIntent() { * * .google.cloud.dialogflow.v2.Intent intent = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The intent. */ public com.google.cloud.dialogflow.v2.Intent getIntent() { if (intentBuilder_ == null) { @@ -1017,6 +1054,8 @@ public com.google.cloud.dialogflow.v2.IntentOrBuilder getIntentOrBuilder() { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -1042,6 +1081,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -1067,6 +1108,9 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCode(java.lang.String value) { if (value == null) { @@ -1090,6 +1134,8 @@ public Builder setLanguageCode(java.lang.String value) { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearLanguageCode() { @@ -1110,6 +1156,9 @@ public Builder clearLanguageCode() { * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1133,6 +1182,8 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dialogflow.v2.IntentView intent_view = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The enum numeric value on the wire for intentView. */ public int getIntentViewValue() { return intentView_; @@ -1147,6 +1198,9 @@ public int getIntentViewValue() { * * .google.cloud.dialogflow.v2.IntentView intent_view = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The enum numeric value on the wire for intentView to set. + * @return This builder for chaining. */ public Builder setIntentViewValue(int value) { intentView_ = value; @@ -1163,6 +1217,8 @@ public Builder setIntentViewValue(int value) { * * .google.cloud.dialogflow.v2.IntentView intent_view = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The intentView. */ public com.google.cloud.dialogflow.v2.IntentView getIntentView() { @SuppressWarnings("deprecation") @@ -1180,6 +1236,9 @@ public com.google.cloud.dialogflow.v2.IntentView getIntentView() { * * .google.cloud.dialogflow.v2.IntentView intent_view = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The intentView to set. + * @return This builder for chaining. */ public Builder setIntentView(com.google.cloud.dialogflow.v2.IntentView value) { if (value == null) { @@ -1200,6 +1259,8 @@ public Builder setIntentView(com.google.cloud.dialogflow.v2.IntentView value) { * * .google.cloud.dialogflow.v2.IntentView intent_view = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return This builder for chaining. */ public Builder clearIntentView() { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequestOrBuilder.java index 8e40f48fa..38dd08270 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateIntentRequestOrBuilder.java @@ -34,6 +34,8 @@ public interface CreateIntentRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ java.lang.String getParent(); /** @@ -47,6 +49,8 @@ public interface CreateIntentRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -59,6 +63,8 @@ public interface CreateIntentRequestOrBuilder * * .google.cloud.dialogflow.v2.Intent intent = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the intent field is set. */ boolean hasIntent(); /** @@ -70,6 +76,8 @@ public interface CreateIntentRequestOrBuilder * * .google.cloud.dialogflow.v2.Intent intent = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The intent. */ com.google.cloud.dialogflow.v2.Intent getIntent(); /** @@ -97,6 +105,8 @@ public interface CreateIntentRequestOrBuilder * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The languageCode. */ java.lang.String getLanguageCode(); /** @@ -112,6 +122,8 @@ public interface CreateIntentRequestOrBuilder * * * string language_code = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for languageCode. */ com.google.protobuf.ByteString getLanguageCodeBytes(); @@ -125,6 +137,8 @@ public interface CreateIntentRequestOrBuilder * * .google.cloud.dialogflow.v2.IntentView intent_view = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The enum numeric value on the wire for intentView. */ int getIntentViewValue(); /** @@ -137,6 +151,8 @@ public interface CreateIntentRequestOrBuilder * * .google.cloud.dialogflow.v2.IntentView intent_view = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The intentView. */ com.google.cloud.dialogflow.v2.IntentView getIntentView(); } diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequest.java index 3e36d4ef8..44cfad774 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequest.java @@ -42,6 +42,12 @@ private CreateSessionEntityTypeRequest() { parent_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CreateSessionEntityTypeRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private CreateSessionEntityTypeRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -134,6 +139,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -155,6 +162,8 @@ public java.lang.String getParent() { * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -180,6 +189,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * .google.cloud.dialogflow.v2.SessionEntityType session_entity_type = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the sessionEntityType field is set. */ public boolean hasSessionEntityType() { return sessionEntityType_ != null; @@ -194,6 +205,8 @@ public boolean hasSessionEntityType() { * * .google.cloud.dialogflow.v2.SessionEntityType session_entity_type = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The sessionEntityType. */ public com.google.cloud.dialogflow.v2.SessionEntityType getSessionEntityType() { return sessionEntityType_ == null @@ -575,6 +588,8 @@ public Builder mergeFrom( * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -596,6 +611,8 @@ public java.lang.String getParent() { * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -617,6 +634,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -636,6 +656,8 @@ public Builder setParent(java.lang.String value) { * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -652,6 +674,9 @@ public Builder clearParent() { * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -680,6 +705,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dialogflow.v2.SessionEntityType session_entity_type = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the sessionEntityType field is set. */ public boolean hasSessionEntityType() { return sessionEntityTypeBuilder_ != null || sessionEntityType_ != null; @@ -694,6 +721,8 @@ public boolean hasSessionEntityType() { * * .google.cloud.dialogflow.v2.SessionEntityType session_entity_type = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The sessionEntityType. */ public com.google.cloud.dialogflow.v2.SessionEntityType getSessionEntityType() { if (sessionEntityTypeBuilder_ == null) { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequestOrBuilder.java index ad27b00a3..407fa0ed3 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/CreateSessionEntityTypeRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface CreateSessionEntityTypeRequestOrBuilder * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parent. */ java.lang.String getParent(); /** @@ -43,6 +45,8 @@ public interface CreateSessionEntityTypeRequestOrBuilder * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -56,6 +60,8 @@ public interface CreateSessionEntityTypeRequestOrBuilder * * .google.cloud.dialogflow.v2.SessionEntityType session_entity_type = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the sessionEntityType field is set. */ boolean hasSessionEntityType(); /** @@ -68,6 +74,8 @@ public interface CreateSessionEntityTypeRequestOrBuilder * * .google.cloud.dialogflow.v2.SessionEntityType session_entity_type = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The sessionEntityType. */ com.google.cloud.dialogflow.v2.SessionEntityType getSessionEntityType(); /** diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAgentRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAgentRequest.java index 344f7d713..6762e1c34 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAgentRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAgentRequest.java @@ -41,6 +41,12 @@ private DeleteAgentRequest() { parent_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteAgentRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private DeleteAgentRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -119,6 +124,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -142,6 +149,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -485,6 +494,8 @@ public Builder mergeFrom( * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -508,6 +519,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -531,6 +544,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -552,6 +568,8 @@ public Builder setParent(java.lang.String value) { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -570,6 +588,9 @@ public Builder clearParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAgentRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAgentRequestOrBuilder.java index b04df5521..8242e0621 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAgentRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAgentRequestOrBuilder.java @@ -34,6 +34,8 @@ public interface DeleteAgentRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ java.lang.String getParent(); /** @@ -47,6 +49,8 @@ public interface DeleteAgentRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); } diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequest.java index 5c96f3c74..2d4940c29 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequest.java @@ -41,6 +41,12 @@ private DeleteAllContextsRequest() { parent_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteAllContextsRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private DeleteAllContextsRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -117,6 +122,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -138,6 +145,8 @@ public java.lang.String getParent() { * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -480,6 +489,8 @@ public Builder mergeFrom( * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -501,6 +512,8 @@ public java.lang.String getParent() { * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -522,6 +535,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -541,6 +557,8 @@ public Builder setParent(java.lang.String value) { * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -557,6 +575,9 @@ public Builder clearParent() { * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequestOrBuilder.java index 6e1ade127..dea311e14 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteAllContextsRequestOrBuilder.java @@ -32,6 +32,8 @@ public interface DeleteAllContextsRequestOrBuilder * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The parent. */ java.lang.String getParent(); /** @@ -43,6 +45,8 @@ public interface DeleteAllContextsRequestOrBuilder * * * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); } diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequest.java index 125f1dc98..53d3df94a 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequest.java @@ -41,6 +41,12 @@ private DeleteContextRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteContextRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private DeleteContextRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -119,6 +124,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -142,6 +149,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -485,6 +494,8 @@ public Builder mergeFrom( * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -508,6 +519,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -531,6 +544,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -552,6 +568,8 @@ public Builder setName(java.lang.String value) { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearName() { @@ -570,6 +588,9 @@ public Builder clearName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequestOrBuilder.java index a621810bf..bc69c28f8 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteContextRequestOrBuilder.java @@ -34,6 +34,8 @@ public interface DeleteContextRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ java.lang.String getName(); /** @@ -47,6 +49,8 @@ public interface DeleteContextRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteEntityTypeRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteEntityTypeRequest.java index f716ba2f4..f7f4b98fa 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteEntityTypeRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteEntityTypeRequest.java @@ -41,6 +41,12 @@ private DeleteEntityTypeRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteEntityTypeRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private DeleteEntityTypeRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -119,6 +124,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -142,6 +149,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -486,6 +495,8 @@ public Builder mergeFrom( * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -509,6 +520,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -532,6 +545,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -553,6 +569,8 @@ public Builder setName(java.lang.String value) { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearName() { @@ -571,6 +589,9 @@ public Builder clearName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteEntityTypeRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteEntityTypeRequestOrBuilder.java index 77de08dbb..6282492c3 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteEntityTypeRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteEntityTypeRequestOrBuilder.java @@ -34,6 +34,8 @@ public interface DeleteEntityTypeRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ java.lang.String getName(); /** @@ -47,6 +49,8 @@ public interface DeleteEntityTypeRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteIntentRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteIntentRequest.java index cc0850ddc..93f4bce5d 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteIntentRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteIntentRequest.java @@ -41,6 +41,12 @@ private DeleteIntentRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteIntentRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private DeleteIntentRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -120,6 +125,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -144,6 +151,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -488,6 +497,8 @@ public Builder mergeFrom( * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -512,6 +523,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -536,6 +549,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -558,6 +574,8 @@ public Builder setName(java.lang.String value) { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearName() { @@ -577,6 +595,9 @@ public Builder clearName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteIntentRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteIntentRequestOrBuilder.java index cdc2b7617..7d18b1bc4 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteIntentRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteIntentRequestOrBuilder.java @@ -35,6 +35,8 @@ public interface DeleteIntentRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ java.lang.String getName(); /** @@ -49,6 +51,8 @@ public interface DeleteIntentRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequest.java index 1df8cc3d8..acb94eb23 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequest.java @@ -42,6 +42,12 @@ private DeleteSessionEntityTypeRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteSessionEntityTypeRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private DeleteSessionEntityTypeRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -121,6 +126,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -145,6 +152,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -493,6 +502,8 @@ public Builder mergeFrom( * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -517,6 +528,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -541,6 +554,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -563,6 +579,8 @@ public Builder setName(java.lang.String value) { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearName() { @@ -582,6 +600,9 @@ public Builder clearName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequestOrBuilder.java index 185e923d7..8e86f8c60 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DeleteSessionEntityTypeRequestOrBuilder.java @@ -35,6 +35,8 @@ public interface DeleteSessionEntityTypeRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ java.lang.String getName(); /** @@ -49,6 +51,8 @@ public interface DeleteSessionEntityTypeRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java index 3c3bbae8d..071af3791 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequest.java @@ -42,6 +42,12 @@ private DetectIntentRequest() { inputAudio_ = com.google.protobuf.ByteString.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DetectIntentRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private DetectIntentRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -174,6 +179,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The session. */ public java.lang.String getSession() { java.lang.Object ref = session_; @@ -198,6 +205,8 @@ public java.lang.String getSession() { * * * string session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for session. */ public com.google.protobuf.ByteString getSessionBytes() { java.lang.Object ref = session_; @@ -223,6 +232,8 @@ public com.google.protobuf.ByteString getSessionBytes() { * * .google.cloud.dialogflow.v2.QueryParameters query_params = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the queryParams field is set. */ public boolean hasQueryParams() { return queryParams_ != null; @@ -237,6 +248,8 @@ public boolean hasQueryParams() { * * .google.cloud.dialogflow.v2.QueryParameters query_params = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The queryParams. */ public com.google.cloud.dialogflow.v2.QueryParameters getQueryParams() { return queryParams_ == null @@ -274,6 +287,8 @@ public com.google.cloud.dialogflow.v2.QueryParametersOrBuilder getQueryParamsOrB * * .google.cloud.dialogflow.v2.QueryInput query_input = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the queryInput field is set. */ public boolean hasQueryInput() { return queryInput_ != null; @@ -292,6 +307,8 @@ public boolean hasQueryInput() { * * .google.cloud.dialogflow.v2.QueryInput query_input = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The queryInput. */ public com.google.cloud.dialogflow.v2.QueryInput getQueryInput() { return queryInput_ == null @@ -331,6 +348,8 @@ public com.google.cloud.dialogflow.v2.QueryInputOrBuilder getQueryInputOrBuilder * * .google.cloud.dialogflow.v2.OutputAudioConfig output_audio_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the outputAudioConfig field is set. */ public boolean hasOutputAudioConfig() { return outputAudioConfig_ != null; @@ -347,6 +366,8 @@ public boolean hasOutputAudioConfig() { * * .google.cloud.dialogflow.v2.OutputAudioConfig output_audio_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The outputAudioConfig. */ public com.google.cloud.dialogflow.v2.OutputAudioConfig getOutputAudioConfig() { return outputAudioConfig_ == null @@ -382,6 +403,8 @@ public com.google.cloud.dialogflow.v2.OutputAudioConfigOrBuilder getOutputAudioC * * * bytes input_audio = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The inputAudio. */ public com.google.protobuf.ByteString getInputAudio() { return inputAudio_; @@ -817,6 +840,8 @@ public Builder mergeFrom( * * * string session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The session. */ public java.lang.String getSession() { java.lang.Object ref = session_; @@ -841,6 +866,8 @@ public java.lang.String getSession() { * * * string session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for session. */ public com.google.protobuf.ByteString getSessionBytes() { java.lang.Object ref = session_; @@ -865,6 +892,9 @@ public com.google.protobuf.ByteString getSessionBytes() { * * * string session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The session to set. + * @return This builder for chaining. */ public Builder setSession(java.lang.String value) { if (value == null) { @@ -887,6 +917,8 @@ public Builder setSession(java.lang.String value) { * * * string session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearSession() { @@ -906,6 +938,9 @@ public Builder clearSession() { * * * string session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for session to set. + * @return This builder for chaining. */ public Builder setSessionBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -934,6 +969,8 @@ public Builder setSessionBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dialogflow.v2.QueryParameters query_params = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the queryParams field is set. */ public boolean hasQueryParams() { return queryParamsBuilder_ != null || queryParams_ != null; @@ -948,6 +985,8 @@ public boolean hasQueryParams() { * * .google.cloud.dialogflow.v2.QueryParameters query_params = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The queryParams. */ public com.google.cloud.dialogflow.v2.QueryParameters getQueryParams() { if (queryParamsBuilder_ == null) { @@ -1138,6 +1177,8 @@ public com.google.cloud.dialogflow.v2.QueryParametersOrBuilder getQueryParamsOrB * * .google.cloud.dialogflow.v2.QueryInput query_input = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the queryInput field is set. */ public boolean hasQueryInput() { return queryInputBuilder_ != null || queryInput_ != null; @@ -1156,6 +1197,8 @@ public boolean hasQueryInput() { * * .google.cloud.dialogflow.v2.QueryInput query_input = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The queryInput. */ public com.google.cloud.dialogflow.v2.QueryInput getQueryInput() { if (queryInputBuilder_ == null) { @@ -1372,6 +1415,8 @@ public com.google.cloud.dialogflow.v2.QueryInputOrBuilder getQueryInputOrBuilder * * .google.cloud.dialogflow.v2.OutputAudioConfig output_audio_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the outputAudioConfig field is set. */ public boolean hasOutputAudioConfig() { return outputAudioConfigBuilder_ != null || outputAudioConfig_ != null; @@ -1388,6 +1433,8 @@ public boolean hasOutputAudioConfig() { * * .google.cloud.dialogflow.v2.OutputAudioConfig output_audio_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The outputAudioConfig. */ public com.google.cloud.dialogflow.v2.OutputAudioConfig getOutputAudioConfig() { if (outputAudioConfigBuilder_ == null) { @@ -1584,6 +1631,8 @@ public com.google.cloud.dialogflow.v2.OutputAudioConfig.Builder getOutputAudioCo * * * bytes input_audio = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The inputAudio. */ public com.google.protobuf.ByteString getInputAudio() { return inputAudio_; @@ -1598,6 +1647,9 @@ public com.google.protobuf.ByteString getInputAudio() { * * * bytes input_audio = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The inputAudio to set. + * @return This builder for chaining. */ public Builder setInputAudio(com.google.protobuf.ByteString value) { if (value == null) { @@ -1618,6 +1670,8 @@ public Builder setInputAudio(com.google.protobuf.ByteString value) { * * * bytes input_audio = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearInputAudio() { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequestOrBuilder.java index 729c3518b..f1d5191d2 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentRequestOrBuilder.java @@ -35,6 +35,8 @@ public interface DetectIntentRequestOrBuilder * * * string session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The session. */ java.lang.String getSession(); /** @@ -49,6 +51,8 @@ public interface DetectIntentRequestOrBuilder * * * string session = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for session. */ com.google.protobuf.ByteString getSessionBytes(); @@ -62,6 +66,8 @@ public interface DetectIntentRequestOrBuilder * * .google.cloud.dialogflow.v2.QueryParameters query_params = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the queryParams field is set. */ boolean hasQueryParams(); /** @@ -74,6 +80,8 @@ public interface DetectIntentRequestOrBuilder * * .google.cloud.dialogflow.v2.QueryParameters query_params = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The queryParams. */ com.google.cloud.dialogflow.v2.QueryParameters getQueryParams(); /** @@ -103,6 +111,8 @@ public interface DetectIntentRequestOrBuilder * * .google.cloud.dialogflow.v2.QueryInput query_input = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return Whether the queryInput field is set. */ boolean hasQueryInput(); /** @@ -119,6 +129,8 @@ public interface DetectIntentRequestOrBuilder * * .google.cloud.dialogflow.v2.QueryInput query_input = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The queryInput. */ com.google.cloud.dialogflow.v2.QueryInput getQueryInput(); /** @@ -150,6 +162,8 @@ public interface DetectIntentRequestOrBuilder * * .google.cloud.dialogflow.v2.OutputAudioConfig output_audio_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the outputAudioConfig field is set. */ boolean hasOutputAudioConfig(); /** @@ -164,6 +178,8 @@ public interface DetectIntentRequestOrBuilder * * .google.cloud.dialogflow.v2.OutputAudioConfig output_audio_config = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The outputAudioConfig. */ com.google.cloud.dialogflow.v2.OutputAudioConfig getOutputAudioConfig(); /** @@ -191,6 +207,8 @@ public interface DetectIntentRequestOrBuilder * * * bytes input_audio = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The inputAudio. */ com.google.protobuf.ByteString getInputAudio(); } diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentResponse.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentResponse.java index 1485dca84..4eb37e9a4 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentResponse.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentResponse.java @@ -42,6 +42,12 @@ private DetectIntentResponse() { outputAudio_ = com.google.protobuf.ByteString.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DetectIntentResponse(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private DetectIntentResponse( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -169,6 +174,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string response_id = 1; + * + * @return The responseId. */ public java.lang.String getResponseId() { java.lang.Object ref = responseId_; @@ -190,6 +197,8 @@ public java.lang.String getResponseId() { * * * string response_id = 1; + * + * @return The bytes for responseId. */ public com.google.protobuf.ByteString getResponseIdBytes() { java.lang.Object ref = responseId_; @@ -214,6 +223,8 @@ public com.google.protobuf.ByteString getResponseIdBytes() { * * * .google.cloud.dialogflow.v2.QueryResult query_result = 2; + * + * @return Whether the queryResult field is set. */ public boolean hasQueryResult() { return queryResult_ != null; @@ -227,6 +238,8 @@ public boolean hasQueryResult() { * * * .google.cloud.dialogflow.v2.QueryResult query_result = 2; + * + * @return The queryResult. */ public com.google.cloud.dialogflow.v2.QueryResult getQueryResult() { return queryResult_ == null @@ -257,6 +270,8 @@ public com.google.cloud.dialogflow.v2.QueryResultOrBuilder getQueryResultOrBuild * * * .google.rpc.Status webhook_status = 3; + * + * @return Whether the webhookStatus field is set. */ public boolean hasWebhookStatus() { return webhookStatus_ != null; @@ -269,6 +284,8 @@ public boolean hasWebhookStatus() { * * * .google.rpc.Status webhook_status = 3; + * + * @return The webhookStatus. */ public com.google.rpc.Status getWebhookStatus() { return webhookStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : webhookStatus_; @@ -301,6 +318,8 @@ public com.google.rpc.StatusOrBuilder getWebhookStatusOrBuilder() { * * * bytes output_audio = 4; + * + * @return The outputAudio. */ public com.google.protobuf.ByteString getOutputAudio() { return outputAudio_; @@ -316,6 +335,8 @@ public com.google.protobuf.ByteString getOutputAudio() { * * * .google.cloud.dialogflow.v2.OutputAudioConfig output_audio_config = 6; + * + * @return Whether the outputAudioConfig field is set. */ public boolean hasOutputAudioConfig() { return outputAudioConfig_ != null; @@ -328,6 +349,8 @@ public boolean hasOutputAudioConfig() { * * * .google.cloud.dialogflow.v2.OutputAudioConfig output_audio_config = 6; + * + * @return The outputAudioConfig. */ public com.google.cloud.dialogflow.v2.OutputAudioConfig getOutputAudioConfig() { return outputAudioConfig_ == null @@ -774,6 +797,8 @@ public Builder mergeFrom( * * * string response_id = 1; + * + * @return The responseId. */ public java.lang.String getResponseId() { java.lang.Object ref = responseId_; @@ -795,6 +820,8 @@ public java.lang.String getResponseId() { * * * string response_id = 1; + * + * @return The bytes for responseId. */ public com.google.protobuf.ByteString getResponseIdBytes() { java.lang.Object ref = responseId_; @@ -816,6 +843,9 @@ public com.google.protobuf.ByteString getResponseIdBytes() { * * * string response_id = 1; + * + * @param value The responseId to set. + * @return This builder for chaining. */ public Builder setResponseId(java.lang.String value) { if (value == null) { @@ -835,6 +865,8 @@ public Builder setResponseId(java.lang.String value) { * * * string response_id = 1; + * + * @return This builder for chaining. */ public Builder clearResponseId() { @@ -851,6 +883,9 @@ public Builder clearResponseId() { * * * string response_id = 1; + * + * @param value The bytes for responseId to set. + * @return This builder for chaining. */ public Builder setResponseIdBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -878,6 +913,8 @@ public Builder setResponseIdBytes(com.google.protobuf.ByteString value) { * * * .google.cloud.dialogflow.v2.QueryResult query_result = 2; + * + * @return Whether the queryResult field is set. */ public boolean hasQueryResult() { return queryResultBuilder_ != null || queryResult_ != null; @@ -891,6 +928,8 @@ public boolean hasQueryResult() { * * * .google.cloud.dialogflow.v2.QueryResult query_result = 2; + * + * @return The queryResult. */ public com.google.cloud.dialogflow.v2.QueryResult getQueryResult() { if (queryResultBuilder_ == null) { @@ -1066,6 +1105,8 @@ public com.google.cloud.dialogflow.v2.QueryResultOrBuilder getQueryResultOrBuild * * * .google.rpc.Status webhook_status = 3; + * + * @return Whether the webhookStatus field is set. */ public boolean hasWebhookStatus() { return webhookStatusBuilder_ != null || webhookStatus_ != null; @@ -1078,6 +1119,8 @@ public boolean hasWebhookStatus() { * * * .google.rpc.Status webhook_status = 3; + * + * @return The webhookStatus. */ public com.google.rpc.Status getWebhookStatus() { if (webhookStatusBuilder_ == null) { @@ -1239,6 +1282,8 @@ public com.google.rpc.StatusOrBuilder getWebhookStatusOrBuilder() { * * * bytes output_audio = 4; + * + * @return The outputAudio. */ public com.google.protobuf.ByteString getOutputAudio() { return outputAudio_; @@ -1256,6 +1301,9 @@ public com.google.protobuf.ByteString getOutputAudio() { * * * bytes output_audio = 4; + * + * @param value The outputAudio to set. + * @return This builder for chaining. */ public Builder setOutputAudio(com.google.protobuf.ByteString value) { if (value == null) { @@ -1279,6 +1327,8 @@ public Builder setOutputAudio(com.google.protobuf.ByteString value) { * * * bytes output_audio = 4; + * + * @return This builder for chaining. */ public Builder clearOutputAudio() { @@ -1301,6 +1351,8 @@ public Builder clearOutputAudio() { * * * .google.cloud.dialogflow.v2.OutputAudioConfig output_audio_config = 6; + * + * @return Whether the outputAudioConfig field is set. */ public boolean hasOutputAudioConfig() { return outputAudioConfigBuilder_ != null || outputAudioConfig_ != null; @@ -1313,6 +1365,8 @@ public boolean hasOutputAudioConfig() { * * * .google.cloud.dialogflow.v2.OutputAudioConfig output_audio_config = 6; + * + * @return The outputAudioConfig. */ public com.google.cloud.dialogflow.v2.OutputAudioConfig getOutputAudioConfig() { if (outputAudioConfigBuilder_ == null) { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentResponseOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentResponseOrBuilder.java index b944c7e9f..f26ca310e 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentResponseOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/DetectIntentResponseOrBuilder.java @@ -32,6 +32,8 @@ public interface DetectIntentResponseOrBuilder * * * string response_id = 1; + * + * @return The responseId. */ java.lang.String getResponseId(); /** @@ -43,6 +45,8 @@ public interface DetectIntentResponseOrBuilder * * * string response_id = 1; + * + * @return The bytes for responseId. */ com.google.protobuf.ByteString getResponseIdBytes(); @@ -55,6 +59,8 @@ public interface DetectIntentResponseOrBuilder * * * .google.cloud.dialogflow.v2.QueryResult query_result = 2; + * + * @return Whether the queryResult field is set. */ boolean hasQueryResult(); /** @@ -66,6 +72,8 @@ public interface DetectIntentResponseOrBuilder * * * .google.cloud.dialogflow.v2.QueryResult query_result = 2; + * + * @return The queryResult. */ com.google.cloud.dialogflow.v2.QueryResult getQueryResult(); /** @@ -88,6 +96,8 @@ public interface DetectIntentResponseOrBuilder * * * .google.rpc.Status webhook_status = 3; + * + * @return Whether the webhookStatus field is set. */ boolean hasWebhookStatus(); /** @@ -98,6 +108,8 @@ public interface DetectIntentResponseOrBuilder * * * .google.rpc.Status webhook_status = 3; + * + * @return The webhookStatus. */ com.google.rpc.Status getWebhookStatus(); /** @@ -124,6 +136,8 @@ public interface DetectIntentResponseOrBuilder * * * bytes output_audio = 4; + * + * @return The outputAudio. */ com.google.protobuf.ByteString getOutputAudio(); @@ -135,6 +149,8 @@ public interface DetectIntentResponseOrBuilder * * * .google.cloud.dialogflow.v2.OutputAudioConfig output_audio_config = 6; + * + * @return Whether the outputAudioConfig field is set. */ boolean hasOutputAudioConfig(); /** @@ -145,6 +161,8 @@ public interface DetectIntentResponseOrBuilder * * * .google.cloud.dialogflow.v2.OutputAudioConfig output_audio_config = 6; + * + * @return The outputAudioConfig. */ com.google.cloud.dialogflow.v2.OutputAudioConfig getOutputAudioConfig(); /** diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityType.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityType.java index 76029fb43..fb58ecffe 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityType.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityType.java @@ -47,6 +47,12 @@ private EntityType() { entities_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new EntityType(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -101,10 +107,10 @@ private EntityType( } case 50: { - if (!((mutable_bitField0_ & 0x00000010) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { entities_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000010; + mutable_bitField0_ |= 0x00000001; } entities_.add( input.readMessage( @@ -131,7 +137,7 @@ private EntityType( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000010) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { entities_ = java.util.Collections.unmodifiableList(entities_); } this.unknownFields = unknownFields.build(); @@ -264,12 +270,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static Kind valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static Kind forNumber(int value) { switch (value) { case 0: @@ -395,12 +409,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static AutoExpansionMode valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static AutoExpansionMode forNumber(int value) { switch (value) { case 0: @@ -479,6 +501,8 @@ public interface EntityOrBuilder * * * string value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The value. */ java.lang.String getValue(); /** @@ -496,6 +520,8 @@ public interface EntityOrBuilder * * * string value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for value. */ com.google.protobuf.ByteString getValueBytes(); @@ -511,6 +537,8 @@ public interface EntityOrBuilder * * * repeated string synonyms = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the synonyms. */ java.util.List getSynonymsList(); /** @@ -525,6 +553,8 @@ public interface EntityOrBuilder * * * repeated string synonyms = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of synonyms. */ int getSynonymsCount(); /** @@ -539,6 +569,9 @@ public interface EntityOrBuilder * * * repeated string synonyms = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The synonyms at the given index. */ java.lang.String getSynonyms(int index); /** @@ -553,6 +586,9 @@ public interface EntityOrBuilder * * * repeated string synonyms = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the synonyms at the given index. */ com.google.protobuf.ByteString getSynonymsBytes(int index); } @@ -580,6 +616,12 @@ private Entity() { synonyms_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Entity(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -614,9 +656,9 @@ private Entity( case 18: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { synonyms_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } synonyms_.add(s); break; @@ -635,7 +677,7 @@ private Entity( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { synonyms_ = synonyms_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -658,7 +700,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.dialogflow.v2.EntityType.Entity.Builder.class); } - private int bitField0_; public static final int VALUE_FIELD_NUMBER = 1; private volatile java.lang.Object value_; /** @@ -676,6 +717,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; @@ -703,6 +746,8 @@ public java.lang.String getValue() { * * * string value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for value. */ public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; @@ -730,6 +775,8 @@ public com.google.protobuf.ByteString getValueBytes() { * * * repeated string synonyms = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the synonyms. */ public com.google.protobuf.ProtocolStringList getSynonymsList() { return synonyms_; @@ -746,6 +793,8 @@ public com.google.protobuf.ProtocolStringList getSynonymsList() { * * * repeated string synonyms = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of synonyms. */ public int getSynonymsCount() { return synonyms_.size(); @@ -762,6 +811,9 @@ public int getSynonymsCount() { * * * repeated string synonyms = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The synonyms at the given index. */ public java.lang.String getSynonyms(int index) { return synonyms_.get(index); @@ -778,6 +830,9 @@ public java.lang.String getSynonyms(int index) { * * * repeated string synonyms = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the synonyms at the given index. */ public com.google.protobuf.ByteString getSynonymsBytes(int index) { return synonyms_.getByteString(index); @@ -1008,7 +1063,7 @@ public Builder clear() { value_ = ""; synonyms_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); return this; } @@ -1037,14 +1092,12 @@ public com.google.cloud.dialogflow.v2.EntityType.Entity buildPartial() { com.google.cloud.dialogflow.v2.EntityType.Entity result = new com.google.cloud.dialogflow.v2.EntityType.Entity(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.value_ = value_; - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { synonyms_ = synonyms_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } result.synonyms_ = synonyms_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -1104,7 +1157,7 @@ public Builder mergeFrom(com.google.cloud.dialogflow.v2.EntityType.Entity other) if (!other.synonyms_.isEmpty()) { if (synonyms_.isEmpty()) { synonyms_ = other.synonyms_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSynonymsIsMutable(); synonyms_.addAll(other.synonyms_); @@ -1159,6 +1212,8 @@ public Builder mergeFrom( * * * string value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; @@ -1186,6 +1241,8 @@ public java.lang.String getValue() { * * * string value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for value. */ public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; @@ -1213,6 +1270,9 @@ public com.google.protobuf.ByteString getValueBytes() { * * * string value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The value to set. + * @return This builder for chaining. */ public Builder setValue(java.lang.String value) { if (value == null) { @@ -1238,6 +1298,8 @@ public Builder setValue(java.lang.String value) { * * * string value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearValue() { @@ -1260,6 +1322,9 @@ public Builder clearValue() { * * * string value = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for value to set. + * @return This builder for chaining. */ public Builder setValueBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1276,9 +1341,9 @@ public Builder setValueBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSynonymsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { synonyms_ = new com.google.protobuf.LazyStringArrayList(synonyms_); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; } } /** @@ -1293,6 +1358,8 @@ private void ensureSynonymsIsMutable() { * * * repeated string synonyms = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return A list containing the synonyms. */ public com.google.protobuf.ProtocolStringList getSynonymsList() { return synonyms_.getUnmodifiableView(); @@ -1309,6 +1376,8 @@ public com.google.protobuf.ProtocolStringList getSynonymsList() { * * * repeated string synonyms = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The count of synonyms. */ public int getSynonymsCount() { return synonyms_.size(); @@ -1325,6 +1394,9 @@ public int getSynonymsCount() { * * * repeated string synonyms = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the element to return. + * @return The synonyms at the given index. */ public java.lang.String getSynonyms(int index) { return synonyms_.get(index); @@ -1341,6 +1413,9 @@ public java.lang.String getSynonyms(int index) { * * * repeated string synonyms = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index of the value to return. + * @return The bytes of the synonyms at the given index. */ public com.google.protobuf.ByteString getSynonymsBytes(int index) { return synonyms_.getByteString(index); @@ -1357,6 +1432,10 @@ public com.google.protobuf.ByteString getSynonymsBytes(int index) { * * * repeated string synonyms = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param index The index to set the value at. + * @param value The synonyms to set. + * @return This builder for chaining. */ public Builder setSynonyms(int index, java.lang.String value) { if (value == null) { @@ -1379,6 +1458,9 @@ public Builder setSynonyms(int index, java.lang.String value) { * * * repeated string synonyms = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The synonyms to add. + * @return This builder for chaining. */ public Builder addSynonyms(java.lang.String value) { if (value == null) { @@ -1401,6 +1483,9 @@ public Builder addSynonyms(java.lang.String value) { * * * repeated string synonyms = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param values The synonyms to add. + * @return This builder for chaining. */ public Builder addAllSynonyms(java.lang.Iterable values) { ensureSynonymsIsMutable(); @@ -1420,10 +1505,12 @@ public Builder addAllSynonyms(java.lang.Iterable values) { * * * repeated string synonyms = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearSynonyms() { synonyms_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -1439,6 +1526,9 @@ public Builder clearSynonyms() { * * * repeated string synonyms = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes of the synonyms to add. + * @return This builder for chaining. */ public Builder addSynonymsBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1503,7 +1593,6 @@ public com.google.cloud.dialogflow.v2.EntityType.Entity getDefaultInstanceForTyp } } - private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** @@ -1517,6 +1606,8 @@ public com.google.cloud.dialogflow.v2.EntityType.Entity getDefaultInstanceForTyp * * * string name = 1; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -1540,6 +1631,8 @@ public java.lang.String getName() { * * * string name = 1; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -1563,6 +1656,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; @@ -1583,6 +1678,8 @@ public java.lang.String getDisplayName() { * * * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for displayName. */ public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; @@ -1608,6 +1705,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * * .google.cloud.dialogflow.v2.EntityType.Kind kind = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The enum numeric value on the wire for kind. */ public int getKindValue() { return kind_; @@ -1622,6 +1721,8 @@ public int getKindValue() { * * .google.cloud.dialogflow.v2.EntityType.Kind kind = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The kind. */ public com.google.cloud.dialogflow.v2.EntityType.Kind getKind() { @SuppressWarnings("deprecation") @@ -1643,6 +1744,8 @@ public com.google.cloud.dialogflow.v2.EntityType.Kind getKind() { * * .google.cloud.dialogflow.v2.EntityType.AutoExpansionMode auto_expansion_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The enum numeric value on the wire for autoExpansionMode. */ public int getAutoExpansionModeValue() { return autoExpansionMode_; @@ -1658,6 +1761,8 @@ public int getAutoExpansionModeValue() { * * .google.cloud.dialogflow.v2.EntityType.AutoExpansionMode auto_expansion_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The autoExpansionMode. */ public com.google.cloud.dialogflow.v2.EntityType.AutoExpansionMode getAutoExpansionMode() { @SuppressWarnings("deprecation") @@ -1752,6 +1857,8 @@ public com.google.cloud.dialogflow.v2.EntityType.EntityOrBuilder getEntitiesOrBu * * * bool enable_fuzzy_extraction = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enableFuzzyExtraction. */ public boolean getEnableFuzzyExtraction() { return enableFuzzyExtraction_; @@ -2028,7 +2135,7 @@ public Builder clear() { if (entitiesBuilder_ == null) { entities_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000001); } else { entitiesBuilder_.clear(); } @@ -2062,22 +2169,20 @@ public com.google.cloud.dialogflow.v2.EntityType buildPartial() { com.google.cloud.dialogflow.v2.EntityType result = new com.google.cloud.dialogflow.v2.EntityType(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.name_ = name_; result.displayName_ = displayName_; result.kind_ = kind_; result.autoExpansionMode_ = autoExpansionMode_; if (entitiesBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { entities_ = java.util.Collections.unmodifiableList(entities_); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000001); } result.entities_ = entities_; } else { result.entities_ = entitiesBuilder_.build(); } result.enableFuzzyExtraction_ = enableFuzzyExtraction_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -2145,7 +2250,7 @@ public Builder mergeFrom(com.google.cloud.dialogflow.v2.EntityType other) { if (!other.entities_.isEmpty()) { if (entities_.isEmpty()) { entities_ = other.entities_; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureEntitiesIsMutable(); entities_.addAll(other.entities_); @@ -2158,7 +2263,7 @@ public Builder mergeFrom(com.google.cloud.dialogflow.v2.EntityType other) { entitiesBuilder_.dispose(); entitiesBuilder_ = null; entities_ = other.entities_; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000001); entitiesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getEntitiesFieldBuilder() @@ -2214,6 +2319,8 @@ public Builder mergeFrom( * * * string name = 1; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -2237,6 +2344,8 @@ public java.lang.String getName() { * * * string name = 1; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -2260,6 +2369,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string name = 1; + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -2281,6 +2393,8 @@ public Builder setName(java.lang.String value) { * * * string name = 1; + * + * @return This builder for chaining. */ public Builder clearName() { @@ -2299,6 +2413,9 @@ public Builder clearName() { * * * string name = 1; + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2320,6 +2437,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; @@ -2340,6 +2459,8 @@ public java.lang.String getDisplayName() { * * * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for displayName. */ public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; @@ -2360,6 +2481,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * * * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The displayName to set. + * @return This builder for chaining. */ public Builder setDisplayName(java.lang.String value) { if (value == null) { @@ -2378,6 +2502,8 @@ public Builder setDisplayName(java.lang.String value) { * * * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -2393,6 +2519,9 @@ public Builder clearDisplayName() { * * * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for displayName to set. + * @return This builder for chaining. */ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2416,6 +2545,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dialogflow.v2.EntityType.Kind kind = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The enum numeric value on the wire for kind. */ public int getKindValue() { return kind_; @@ -2430,6 +2561,9 @@ public int getKindValue() { * * .google.cloud.dialogflow.v2.EntityType.Kind kind = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @param value The enum numeric value on the wire for kind to set. + * @return This builder for chaining. */ public Builder setKindValue(int value) { kind_ = value; @@ -2446,6 +2580,8 @@ public Builder setKindValue(int value) { * * .google.cloud.dialogflow.v2.EntityType.Kind kind = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The kind. */ public com.google.cloud.dialogflow.v2.EntityType.Kind getKind() { @SuppressWarnings("deprecation") @@ -2463,6 +2599,9 @@ public com.google.cloud.dialogflow.v2.EntityType.Kind getKind() { * * .google.cloud.dialogflow.v2.EntityType.Kind kind = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @param value The kind to set. + * @return This builder for chaining. */ public Builder setKind(com.google.cloud.dialogflow.v2.EntityType.Kind value) { if (value == null) { @@ -2483,6 +2622,8 @@ public Builder setKind(com.google.cloud.dialogflow.v2.EntityType.Kind value) { * * .google.cloud.dialogflow.v2.EntityType.Kind kind = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return This builder for chaining. */ public Builder clearKind() { @@ -2503,6 +2644,8 @@ public Builder clearKind() { * * .google.cloud.dialogflow.v2.EntityType.AutoExpansionMode auto_expansion_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The enum numeric value on the wire for autoExpansionMode. */ public int getAutoExpansionModeValue() { return autoExpansionMode_; @@ -2518,6 +2661,9 @@ public int getAutoExpansionModeValue() { * * .google.cloud.dialogflow.v2.EntityType.AutoExpansionMode auto_expansion_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The enum numeric value on the wire for autoExpansionMode to set. + * @return This builder for chaining. */ public Builder setAutoExpansionModeValue(int value) { autoExpansionMode_ = value; @@ -2535,6 +2681,8 @@ public Builder setAutoExpansionModeValue(int value) { * * .google.cloud.dialogflow.v2.EntityType.AutoExpansionMode auto_expansion_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The autoExpansionMode. */ public com.google.cloud.dialogflow.v2.EntityType.AutoExpansionMode getAutoExpansionMode() { @SuppressWarnings("deprecation") @@ -2555,6 +2703,9 @@ public com.google.cloud.dialogflow.v2.EntityType.AutoExpansionMode getAutoExpans * * .google.cloud.dialogflow.v2.EntityType.AutoExpansionMode auto_expansion_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The autoExpansionMode to set. + * @return This builder for chaining. */ public Builder setAutoExpansionMode( com.google.cloud.dialogflow.v2.EntityType.AutoExpansionMode value) { @@ -2577,6 +2728,8 @@ public Builder setAutoExpansionMode( * * .google.cloud.dialogflow.v2.EntityType.AutoExpansionMode auto_expansion_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return This builder for chaining. */ public Builder clearAutoExpansionMode() { @@ -2589,10 +2742,10 @@ public Builder clearAutoExpansionMode() { java.util.Collections.emptyList(); private void ensureEntitiesIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { entities_ = new java.util.ArrayList(entities_); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000001; } } @@ -2830,7 +2983,7 @@ public Builder addAllEntities( public Builder clearEntities() { if (entitiesBuilder_ == null) { entities_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { entitiesBuilder_.clear(); @@ -2967,7 +3120,7 @@ public com.google.cloud.dialogflow.v2.EntityType.Entity.Builder addEntitiesBuild com.google.cloud.dialogflow.v2.EntityType.Entity, com.google.cloud.dialogflow.v2.EntityType.Entity.Builder, com.google.cloud.dialogflow.v2.EntityType.EntityOrBuilder>( - entities_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); + entities_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); entities_ = null; } return entitiesBuilder_; @@ -2982,6 +3135,8 @@ public com.google.cloud.dialogflow.v2.EntityType.Entity.Builder addEntitiesBuild * * * bool enable_fuzzy_extraction = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enableFuzzyExtraction. */ public boolean getEnableFuzzyExtraction() { return enableFuzzyExtraction_; @@ -2994,6 +3149,9 @@ public boolean getEnableFuzzyExtraction() { * * * bool enable_fuzzy_extraction = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The enableFuzzyExtraction to set. + * @return This builder for chaining. */ public Builder setEnableFuzzyExtraction(boolean value) { @@ -3009,6 +3167,8 @@ public Builder setEnableFuzzyExtraction(boolean value) { * * * bool enable_fuzzy_extraction = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearEnableFuzzyExtraction() { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeBatch.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeBatch.java index 9d5b96c56..8de8eaf24 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeBatch.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeBatch.java @@ -41,6 +41,12 @@ private EntityTypeBatch() { entityTypes_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new EntityTypeBatch(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeName.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeName.java index f85768933..2af488766 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeName.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeName.java @@ -24,7 +24,7 @@ import java.util.List; import java.util.Map; -// AUTO-GENERATED DOCUMENTATION AND CLASS +/** AUTO-GENERATED DOCUMENTATION AND CLASS */ @javax.annotation.Generated("by GAPIC protoc plugin") public class EntityTypeName implements ResourceName { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeOrBuilder.java index e6303c71c..b43aab19a 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeOrBuilder.java @@ -34,6 +34,8 @@ public interface EntityTypeOrBuilder * * * string name = 1; + * + * @return The name. */ java.lang.String getName(); /** @@ -47,6 +49,8 @@ public interface EntityTypeOrBuilder * * * string name = 1; + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -58,6 +62,8 @@ public interface EntityTypeOrBuilder * * * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The displayName. */ java.lang.String getDisplayName(); /** @@ -68,6 +74,8 @@ public interface EntityTypeOrBuilder * * * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for displayName. */ com.google.protobuf.ByteString getDisplayNameBytes(); @@ -81,6 +89,8 @@ public interface EntityTypeOrBuilder * * .google.cloud.dialogflow.v2.EntityType.Kind kind = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The enum numeric value on the wire for kind. */ int getKindValue(); /** @@ -93,6 +103,8 @@ public interface EntityTypeOrBuilder * * .google.cloud.dialogflow.v2.EntityType.Kind kind = 3 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The kind. */ com.google.cloud.dialogflow.v2.EntityType.Kind getKind(); @@ -107,6 +119,8 @@ public interface EntityTypeOrBuilder * * .google.cloud.dialogflow.v2.EntityType.AutoExpansionMode auto_expansion_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The enum numeric value on the wire for autoExpansionMode. */ int getAutoExpansionModeValue(); /** @@ -120,6 +134,8 @@ public interface EntityTypeOrBuilder * * .google.cloud.dialogflow.v2.EntityType.AutoExpansionMode auto_expansion_mode = 4 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The autoExpansionMode. */ com.google.cloud.dialogflow.v2.EntityType.AutoExpansionMode getAutoExpansionMode(); @@ -193,6 +209,8 @@ public interface EntityTypeOrBuilder * * * bool enable_fuzzy_extraction = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enableFuzzyExtraction. */ boolean getEnableFuzzyExtraction(); } diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeProto.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeProto.java index b9964328e..f02c8ee90 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeProto.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EntityTypeProto.java @@ -236,26 +236,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ialogflow/v2;dialogflow\370\001\001\242\002\002DF\252\002\032Google" + ".Cloud.Dialogflow.V2b\006proto3" }; - com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }, - assigner); + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); internal_static_google_cloud_dialogflow_v2_EntityType_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_google_cloud_dialogflow_v2_EntityType_fieldAccessorTable = diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EventInput.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EventInput.java index a2839f446..699755aaa 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EventInput.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EventInput.java @@ -46,6 +46,12 @@ private EventInput() { languageCode_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new EventInput(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -59,7 +65,6 @@ private EventInput( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -143,6 +148,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -163,6 +170,8 @@ public java.lang.String getName() { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -186,6 +195,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * * .google.protobuf.Struct parameters = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the parameters field is set. */ public boolean hasParameters() { return parameters_ != null; @@ -198,6 +209,8 @@ public boolean hasParameters() { * * * .google.protobuf.Struct parameters = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The parameters. */ public com.google.protobuf.Struct getParameters() { return parameters_ == null ? com.google.protobuf.Struct.getDefaultInstance() : parameters_; @@ -228,6 +241,8 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { * * * string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -251,6 +266,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -637,6 +654,8 @@ public Builder mergeFrom( * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -657,6 +676,8 @@ public java.lang.String getName() { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -677,6 +698,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -695,6 +719,8 @@ public Builder setName(java.lang.String value) { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearName() { @@ -710,6 +736,9 @@ public Builder clearName() { * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -737,6 +766,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * .google.protobuf.Struct parameters = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return Whether the parameters field is set. */ public boolean hasParameters() { return parametersBuilder_ != null || parameters_ != null; @@ -750,6 +781,8 @@ public boolean hasParameters() { * * .google.protobuf.Struct parameters = 2 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The parameters. */ public com.google.protobuf.Struct getParameters() { if (parametersBuilder_ == null) { @@ -918,6 +951,8 @@ public com.google.protobuf.StructOrBuilder getParametersOrBuilder() { * * * string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -941,6 +976,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -964,6 +1001,9 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * * string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCode(java.lang.String value) { if (value == null) { @@ -985,6 +1025,8 @@ public Builder setLanguageCode(java.lang.String value) { * * * string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearLanguageCode() { @@ -1003,6 +1045,9 @@ public Builder clearLanguageCode() { * * * string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EventInputOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EventInputOrBuilder.java index cb9bdd82a..fe35485e2 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EventInputOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/EventInputOrBuilder.java @@ -31,6 +31,8 @@ public interface EventInputOrBuilder * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The name. */ java.lang.String getName(); /** @@ -41,6 +43,8 @@ public interface EventInputOrBuilder * * * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -52,6 +56,8 @@ public interface EventInputOrBuilder * * * .google.protobuf.Struct parameters = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return Whether the parameters field is set. */ boolean hasParameters(); /** @@ -62,6 +68,8 @@ public interface EventInputOrBuilder * * * .google.protobuf.Struct parameters = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The parameters. */ com.google.protobuf.Struct getParameters(); /** @@ -86,6 +94,8 @@ public interface EventInputOrBuilder * * * string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The languageCode. */ java.lang.String getLanguageCode(); /** @@ -99,6 +109,8 @@ public interface EventInputOrBuilder * * * string language_code = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for languageCode. */ com.google.protobuf.ByteString getLanguageCodeBytes(); } diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentRequest.java index 94c0c2db3..9eaab7bab 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentRequest.java @@ -42,6 +42,12 @@ private ExportAgentRequest() { agentUri_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ExportAgentRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private ExportAgentRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -127,6 +132,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -150,6 +157,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -176,6 +185,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * * string agent_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The agentUri. */ public java.lang.String getAgentUri() { java.lang.Object ref = agentUri_; @@ -199,6 +210,8 @@ public java.lang.String getAgentUri() { * * * string agent_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for agentUri. */ public com.google.protobuf.ByteString getAgentUriBytes() { java.lang.Object ref = agentUri_; @@ -558,6 +571,8 @@ public Builder mergeFrom( * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -581,6 +596,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -604,6 +621,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -625,6 +645,8 @@ public Builder setParent(java.lang.String value) { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -643,6 +665,9 @@ public Builder clearParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -667,6 +692,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * * string agent_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The agentUri. */ public java.lang.String getAgentUri() { java.lang.Object ref = agentUri_; @@ -690,6 +717,8 @@ public java.lang.String getAgentUri() { * * * string agent_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for agentUri. */ public com.google.protobuf.ByteString getAgentUriBytes() { java.lang.Object ref = agentUri_; @@ -713,6 +742,9 @@ public com.google.protobuf.ByteString getAgentUriBytes() { * * * string agent_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The agentUri to set. + * @return This builder for chaining. */ public Builder setAgentUri(java.lang.String value) { if (value == null) { @@ -734,6 +766,8 @@ public Builder setAgentUri(java.lang.String value) { * * * string agent_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. */ public Builder clearAgentUri() { @@ -752,6 +786,9 @@ public Builder clearAgentUri() { * * * string agent_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for agentUri to set. + * @return This builder for chaining. */ public Builder setAgentUriBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentRequestOrBuilder.java index f9099b972..b2f9ba7b8 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentRequestOrBuilder.java @@ -34,6 +34,8 @@ public interface ExportAgentRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ java.lang.String getParent(); /** @@ -47,6 +49,8 @@ public interface ExportAgentRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -61,6 +65,8 @@ public interface ExportAgentRequestOrBuilder * * * string agent_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The agentUri. */ java.lang.String getAgentUri(); /** @@ -74,6 +80,8 @@ public interface ExportAgentRequestOrBuilder * * * string agent_uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for agentUri. */ com.google.protobuf.ByteString getAgentUriBytes(); } diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentResponse.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentResponse.java index 31c03b841..4a2c90874 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentResponse.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentResponse.java @@ -39,6 +39,12 @@ private ExportAgentResponse(com.google.protobuf.GeneratedMessageV3.Builder bu private ExportAgentResponse() {} + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ExportAgentResponse(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -52,7 +58,6 @@ private ExportAgentResponse( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -113,7 +118,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { private int agentCase_ = 0; private java.lang.Object agent_; - public enum AgentCase implements com.google.protobuf.Internal.EnumLite { + public enum AgentCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { AGENT_URI(1), AGENT_CONTENT(2), AGENT_NOT_SET(0); @@ -122,7 +130,11 @@ public enum AgentCase implements com.google.protobuf.Internal.EnumLite { private AgentCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static AgentCase valueOf(int value) { return forNumber(value); @@ -160,6 +172,8 @@ public AgentCase getAgentCase() { * * * string agent_uri = 1; + * + * @return The agentUri. */ public java.lang.String getAgentUri() { java.lang.Object ref = ""; @@ -186,6 +200,8 @@ public java.lang.String getAgentUri() { * * * string agent_uri = 1; + * + * @return The bytes for agentUri. */ public com.google.protobuf.ByteString getAgentUriBytes() { java.lang.Object ref = ""; @@ -213,6 +229,8 @@ public com.google.protobuf.ByteString getAgentUriBytes() { * * * bytes agent_content = 2; + * + * @return The agentContent. */ public com.google.protobuf.ByteString getAgentContent() { if (agentCase_ == 2) { @@ -610,6 +628,8 @@ public Builder clearAgent() { * * * string agent_uri = 1; + * + * @return The agentUri. */ public java.lang.String getAgentUri() { java.lang.Object ref = ""; @@ -636,6 +656,8 @@ public java.lang.String getAgentUri() { * * * string agent_uri = 1; + * + * @return The bytes for agentUri. */ public com.google.protobuf.ByteString getAgentUriBytes() { java.lang.Object ref = ""; @@ -662,6 +684,9 @@ public com.google.protobuf.ByteString getAgentUriBytes() { * * * string agent_uri = 1; + * + * @param value The agentUri to set. + * @return This builder for chaining. */ public Builder setAgentUri(java.lang.String value) { if (value == null) { @@ -681,6 +706,8 @@ public Builder setAgentUri(java.lang.String value) { * * * string agent_uri = 1; + * + * @return This builder for chaining. */ public Builder clearAgentUri() { if (agentCase_ == 1) { @@ -699,6 +726,9 @@ public Builder clearAgentUri() { * * * string agent_uri = 1; + * + * @param value The bytes for agentUri to set. + * @return This builder for chaining. */ public Builder setAgentUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -719,6 +749,8 @@ public Builder setAgentUriBytes(com.google.protobuf.ByteString value) { * * * bytes agent_content = 2; + * + * @return The agentContent. */ public com.google.protobuf.ByteString getAgentContent() { if (agentCase_ == 2) { @@ -734,6 +766,9 @@ public com.google.protobuf.ByteString getAgentContent() { * * * bytes agent_content = 2; + * + * @param value The agentContent to set. + * @return This builder for chaining. */ public Builder setAgentContent(com.google.protobuf.ByteString value) { if (value == null) { @@ -752,6 +787,8 @@ public Builder setAgentContent(com.google.protobuf.ByteString value) { * * * bytes agent_content = 2; + * + * @return This builder for chaining. */ public Builder clearAgentContent() { if (agentCase_ == 2) { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentResponseOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentResponseOrBuilder.java index 6a0c99659..6cc52bf34 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentResponseOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ExportAgentResponseOrBuilder.java @@ -32,6 +32,8 @@ public interface ExportAgentResponseOrBuilder * * * string agent_uri = 1; + * + * @return The agentUri. */ java.lang.String getAgentUri(); /** @@ -43,6 +45,8 @@ public interface ExportAgentResponseOrBuilder * * * string agent_uri = 1; + * + * @return The bytes for agentUri. */ com.google.protobuf.ByteString getAgentUriBytes(); @@ -54,6 +58,8 @@ public interface ExportAgentResponseOrBuilder * * * bytes agent_content = 2; + * + * @return The agentContent. */ com.google.protobuf.ByteString getAgentContent(); diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetAgentRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetAgentRequest.java index 88631dcbb..3f05addb1 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetAgentRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetAgentRequest.java @@ -41,6 +41,12 @@ private GetAgentRequest() { parent_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetAgentRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private GetAgentRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -119,6 +124,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -142,6 +149,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -483,6 +492,8 @@ public Builder mergeFrom( * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -506,6 +517,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -529,6 +542,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -550,6 +566,8 @@ public Builder setParent(java.lang.String value) { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -568,6 +586,9 @@ public Builder clearParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetAgentRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetAgentRequestOrBuilder.java index 8ad75be13..28fc7b886 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetAgentRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetAgentRequestOrBuilder.java @@ -34,6 +34,8 @@ public interface GetAgentRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ java.lang.String getParent(); /** @@ -47,6 +49,8 @@ public interface GetAgentRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); } diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequest.java index b3ea6c9c8..6e08f7884 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequest.java @@ -41,6 +41,12 @@ private GetContextRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetContextRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private GetContextRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -119,6 +124,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -142,6 +149,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -484,6 +493,8 @@ public Builder mergeFrom( * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -507,6 +518,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -530,6 +543,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -551,6 +567,8 @@ public Builder setName(java.lang.String value) { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearName() { @@ -569,6 +587,9 @@ public Builder clearName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequestOrBuilder.java index 4ac69e760..5994a1b53 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetContextRequestOrBuilder.java @@ -34,6 +34,8 @@ public interface GetContextRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ java.lang.String getName(); /** @@ -47,6 +49,8 @@ public interface GetContextRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequest.java index 36e844db8..d64acc6d6 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequest.java @@ -42,6 +42,12 @@ private GetEntityTypeRequest() { languageCode_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetEntityTypeRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -55,7 +61,6 @@ private GetEntityTypeRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -127,6 +132,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -150,6 +157,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -178,6 +187,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -203,6 +214,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -562,6 +575,8 @@ public Builder mergeFrom( * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -585,6 +600,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -608,6 +625,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -629,6 +649,8 @@ public Builder setName(java.lang.String value) { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearName() { @@ -647,6 +669,9 @@ public Builder clearName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -673,6 +698,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -698,6 +725,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -723,6 +752,9 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCode(java.lang.String value) { if (value == null) { @@ -746,6 +778,8 @@ public Builder setLanguageCode(java.lang.String value) { * * * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearLanguageCode() { @@ -766,6 +800,9 @@ public Builder clearLanguageCode() { * * * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequestOrBuilder.java index ef7a99e22..3ef5f9c76 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetEntityTypeRequestOrBuilder.java @@ -34,6 +34,8 @@ public interface GetEntityTypeRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ java.lang.String getName(); /** @@ -47,6 +49,8 @@ public interface GetEntityTypeRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -63,6 +67,8 @@ public interface GetEntityTypeRequestOrBuilder * * * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The languageCode. */ java.lang.String getLanguageCode(); /** @@ -78,6 +84,8 @@ public interface GetEntityTypeRequestOrBuilder * * * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for languageCode. */ com.google.protobuf.ByteString getLanguageCodeBytes(); } diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequest.java index 762598c2d..341667797 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequest.java @@ -43,6 +43,12 @@ private GetIntentRequest() { intentView_ = 0; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetIntentRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -56,7 +62,6 @@ private GetIntentRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -135,6 +140,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -158,6 +165,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -186,6 +195,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -211,6 +222,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -236,6 +249,8 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * .google.cloud.dialogflow.v2.IntentView intent_view = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The enum numeric value on the wire for intentView. */ public int getIntentViewValue() { return intentView_; @@ -250,6 +265,8 @@ public int getIntentViewValue() { * * .google.cloud.dialogflow.v2.IntentView intent_view = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The intentView. */ public com.google.cloud.dialogflow.v2.IntentView getIntentView() { @SuppressWarnings("deprecation") @@ -620,6 +637,8 @@ public Builder mergeFrom( * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -643,6 +662,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -666,6 +687,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -687,6 +711,8 @@ public Builder setName(java.lang.String value) { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearName() { @@ -705,6 +731,9 @@ public Builder clearName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -731,6 +760,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -756,6 +787,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -781,6 +814,9 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCode(java.lang.String value) { if (value == null) { @@ -804,6 +840,8 @@ public Builder setLanguageCode(java.lang.String value) { * * * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearLanguageCode() { @@ -824,6 +862,9 @@ public Builder clearLanguageCode() { * * * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -847,6 +888,8 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dialogflow.v2.IntentView intent_view = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The enum numeric value on the wire for intentView. */ public int getIntentViewValue() { return intentView_; @@ -861,6 +904,9 @@ public int getIntentViewValue() { * * .google.cloud.dialogflow.v2.IntentView intent_view = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The enum numeric value on the wire for intentView to set. + * @return This builder for chaining. */ public Builder setIntentViewValue(int value) { intentView_ = value; @@ -877,6 +923,8 @@ public Builder setIntentViewValue(int value) { * * .google.cloud.dialogflow.v2.IntentView intent_view = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The intentView. */ public com.google.cloud.dialogflow.v2.IntentView getIntentView() { @SuppressWarnings("deprecation") @@ -894,6 +942,9 @@ public com.google.cloud.dialogflow.v2.IntentView getIntentView() { * * .google.cloud.dialogflow.v2.IntentView intent_view = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @param value The intentView to set. + * @return This builder for chaining. */ public Builder setIntentView(com.google.cloud.dialogflow.v2.IntentView value) { if (value == null) { @@ -914,6 +965,8 @@ public Builder setIntentView(com.google.cloud.dialogflow.v2.IntentView value) { * * .google.cloud.dialogflow.v2.IntentView intent_view = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return This builder for chaining. */ public Builder clearIntentView() { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequestOrBuilder.java index e7cb11286..fd032b957 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetIntentRequestOrBuilder.java @@ -34,6 +34,8 @@ public interface GetIntentRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ java.lang.String getName(); /** @@ -47,6 +49,8 @@ public interface GetIntentRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -63,6 +67,8 @@ public interface GetIntentRequestOrBuilder * * * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The languageCode. */ java.lang.String getLanguageCode(); /** @@ -78,6 +84,8 @@ public interface GetIntentRequestOrBuilder * * * string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for languageCode. */ com.google.protobuf.ByteString getLanguageCodeBytes(); @@ -91,6 +99,8 @@ public interface GetIntentRequestOrBuilder * * .google.cloud.dialogflow.v2.IntentView intent_view = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The enum numeric value on the wire for intentView. */ int getIntentViewValue(); /** @@ -103,6 +113,8 @@ public interface GetIntentRequestOrBuilder * * .google.cloud.dialogflow.v2.IntentView intent_view = 3 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The intentView. */ com.google.cloud.dialogflow.v2.IntentView getIntentView(); } diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequest.java index 7e9e14ec6..ffcc0efb4 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequest.java @@ -41,6 +41,12 @@ private GetSessionEntityTypeRequest() { name_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetSessionEntityTypeRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private GetSessionEntityTypeRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -120,6 +125,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -144,6 +151,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -489,6 +498,8 @@ public Builder mergeFrom( * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -513,6 +524,8 @@ public java.lang.String getName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -537,6 +550,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -559,6 +575,8 @@ public Builder setName(java.lang.String value) { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearName() { @@ -578,6 +596,9 @@ public Builder clearName() { * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequestOrBuilder.java index 8de508915..12fbae340 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/GetSessionEntityTypeRequestOrBuilder.java @@ -35,6 +35,8 @@ public interface GetSessionEntityTypeRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The name. */ java.lang.String getName(); /** @@ -49,6 +51,8 @@ public interface GetSessionEntityTypeRequestOrBuilder * * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); } diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ImportAgentRequest.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ImportAgentRequest.java index 869e5b6c9..fdf6e751e 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ImportAgentRequest.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ImportAgentRequest.java @@ -41,6 +41,12 @@ private ImportAgentRequest() { parent_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ImportAgentRequest(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -54,7 +60,6 @@ private ImportAgentRequest( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -122,7 +127,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { private int agentCase_ = 0; private java.lang.Object agent_; - public enum AgentCase implements com.google.protobuf.Internal.EnumLite { + public enum AgentCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { AGENT_URI(2), AGENT_CONTENT(3), AGENT_NOT_SET(0); @@ -131,7 +139,11 @@ public enum AgentCase implements com.google.protobuf.Internal.EnumLite { private AgentCase(int value) { this.value = value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static AgentCase valueOf(int value) { return forNumber(value); @@ -172,6 +184,8 @@ public AgentCase getAgentCase() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -195,6 +209,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -218,6 +234,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * * string agent_uri = 2; + * + * @return The agentUri. */ public java.lang.String getAgentUri() { java.lang.Object ref = ""; @@ -244,6 +262,8 @@ public java.lang.String getAgentUri() { * * * string agent_uri = 2; + * + * @return The bytes for agentUri. */ public com.google.protobuf.ByteString getAgentUriBytes() { java.lang.Object ref = ""; @@ -271,6 +291,8 @@ public com.google.protobuf.ByteString getAgentUriBytes() { * * * bytes agent_content = 3; + * + * @return The agentContent. */ public com.google.protobuf.ByteString getAgentContent() { if (agentCase_ == 3) { @@ -687,6 +709,8 @@ public Builder clearAgent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; @@ -710,6 +734,8 @@ public java.lang.String getParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; @@ -733,6 +759,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The parent to set. + * @return This builder for chaining. */ public Builder setParent(java.lang.String value) { if (value == null) { @@ -754,6 +783,8 @@ public Builder setParent(java.lang.String value) { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return This builder for chaining. */ public Builder clearParent() { @@ -772,6 +803,9 @@ public Builder clearParent() { * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @param value The bytes for parent to set. + * @return This builder for chaining. */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -793,6 +827,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * * string agent_uri = 2; + * + * @return The agentUri. */ public java.lang.String getAgentUri() { java.lang.Object ref = ""; @@ -819,6 +855,8 @@ public java.lang.String getAgentUri() { * * * string agent_uri = 2; + * + * @return The bytes for agentUri. */ public com.google.protobuf.ByteString getAgentUriBytes() { java.lang.Object ref = ""; @@ -845,6 +883,9 @@ public com.google.protobuf.ByteString getAgentUriBytes() { * * * string agent_uri = 2; + * + * @param value The agentUri to set. + * @return This builder for chaining. */ public Builder setAgentUri(java.lang.String value) { if (value == null) { @@ -864,6 +905,8 @@ public Builder setAgentUri(java.lang.String value) { * * * string agent_uri = 2; + * + * @return This builder for chaining. */ public Builder clearAgentUri() { if (agentCase_ == 2) { @@ -882,6 +925,9 @@ public Builder clearAgentUri() { * * * string agent_uri = 2; + * + * @param value The bytes for agentUri to set. + * @return This builder for chaining. */ public Builder setAgentUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -902,6 +948,8 @@ public Builder setAgentUriBytes(com.google.protobuf.ByteString value) { * * * bytes agent_content = 3; + * + * @return The agentContent. */ public com.google.protobuf.ByteString getAgentContent() { if (agentCase_ == 3) { @@ -917,6 +965,9 @@ public com.google.protobuf.ByteString getAgentContent() { * * * bytes agent_content = 3; + * + * @param value The agentContent to set. + * @return This builder for chaining. */ public Builder setAgentContent(com.google.protobuf.ByteString value) { if (value == null) { @@ -935,6 +986,8 @@ public Builder setAgentContent(com.google.protobuf.ByteString value) { * * * bytes agent_content = 3; + * + * @return This builder for chaining. */ public Builder clearAgentContent() { if (agentCase_ == 3) { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ImportAgentRequestOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ImportAgentRequestOrBuilder.java index d44407f4d..7690eed40 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ImportAgentRequestOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/ImportAgentRequestOrBuilder.java @@ -34,6 +34,8 @@ public interface ImportAgentRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The parent. */ java.lang.String getParent(); /** @@ -47,6 +49,8 @@ public interface ImportAgentRequestOrBuilder * * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * + * + * @return The bytes for parent. */ com.google.protobuf.ByteString getParentBytes(); @@ -59,6 +63,8 @@ public interface ImportAgentRequestOrBuilder * * * string agent_uri = 2; + * + * @return The agentUri. */ java.lang.String getAgentUri(); /** @@ -70,6 +76,8 @@ public interface ImportAgentRequestOrBuilder * * * string agent_uri = 2; + * + * @return The bytes for agentUri. */ com.google.protobuf.ByteString getAgentUriBytes(); @@ -81,6 +89,8 @@ public interface ImportAgentRequestOrBuilder * * * bytes agent_content = 3; + * + * @return The agentContent. */ com.google.protobuf.ByteString getAgentContent(); diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfig.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfig.java index b6154d6c5..5793ae3e6 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfig.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfig.java @@ -44,6 +44,12 @@ private InputAudioConfig() { modelVariant_ = 0; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new InputAudioConfig(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -90,9 +96,9 @@ private InputAudioConfig( case 34: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000008) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { phraseHints_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000008; + mutable_bitField0_ |= 0x00000001; } phraseHints_.add(s); break; @@ -123,7 +129,7 @@ private InputAudioConfig( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000008) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { phraseHints_ = phraseHints_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -146,7 +152,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.dialogflow.v2.InputAudioConfig.Builder.class); } - private int bitField0_; public static final int AUDIO_ENCODING_FIELD_NUMBER = 1; private int audioEncoding_; /** @@ -157,6 +162,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * .google.cloud.dialogflow.v2.AudioEncoding audio_encoding = 1; + * + * @return The enum numeric value on the wire for audioEncoding. */ public int getAudioEncodingValue() { return audioEncoding_; @@ -169,6 +176,8 @@ public int getAudioEncodingValue() { * * * .google.cloud.dialogflow.v2.AudioEncoding audio_encoding = 1; + * + * @return The audioEncoding. */ public com.google.cloud.dialogflow.v2.AudioEncoding getAudioEncoding() { @SuppressWarnings("deprecation") @@ -191,6 +200,8 @@ public com.google.cloud.dialogflow.v2.AudioEncoding getAudioEncoding() { * * * int32 sample_rate_hertz = 2; + * + * @return The sampleRateHertz. */ public int getSampleRateHertz() { return sampleRateHertz_; @@ -210,6 +221,8 @@ public int getSampleRateHertz() { * * * string language_code = 3; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -234,6 +247,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 3; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -261,6 +276,8 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * * repeated string phrase_hints = 4; + * + * @return A list containing the phraseHints. */ public com.google.protobuf.ProtocolStringList getPhraseHintsList() { return phraseHints_; @@ -277,6 +294,8 @@ public com.google.protobuf.ProtocolStringList getPhraseHintsList() { * * * repeated string phrase_hints = 4; + * + * @return The count of phraseHints. */ public int getPhraseHintsCount() { return phraseHints_.size(); @@ -293,6 +312,9 @@ public int getPhraseHintsCount() { * * * repeated string phrase_hints = 4; + * + * @param index The index of the element to return. + * @return The phraseHints at the given index. */ public java.lang.String getPhraseHints(int index) { return phraseHints_.get(index); @@ -309,6 +331,9 @@ public java.lang.String getPhraseHints(int index) { * * * repeated string phrase_hints = 4; + * + * @param index The index of the value to return. + * @return The bytes of the phraseHints at the given index. */ public com.google.protobuf.ByteString getPhraseHintsBytes(int index) { return phraseHints_.getByteString(index); @@ -324,6 +349,8 @@ public com.google.protobuf.ByteString getPhraseHintsBytes(int index) { * * * .google.cloud.dialogflow.v2.SpeechModelVariant model_variant = 10; + * + * @return The enum numeric value on the wire for modelVariant. */ public int getModelVariantValue() { return modelVariant_; @@ -336,6 +363,8 @@ public int getModelVariantValue() { * * * .google.cloud.dialogflow.v2.SpeechModelVariant model_variant = 10; + * + * @return The modelVariant. */ public com.google.cloud.dialogflow.v2.SpeechModelVariant getModelVariant() { @SuppressWarnings("deprecation") @@ -363,6 +392,8 @@ public com.google.cloud.dialogflow.v2.SpeechModelVariant getModelVariant() { * * * bool single_utterance = 8; + * + * @return The singleUtterance. */ public boolean getSingleUtterance() { return singleUtterance_; @@ -637,7 +668,7 @@ public Builder clear() { languageCode_ = ""; phraseHints_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000001); modelVariant_ = 0; singleUtterance_ = false; @@ -670,18 +701,16 @@ public com.google.cloud.dialogflow.v2.InputAudioConfig buildPartial() { com.google.cloud.dialogflow.v2.InputAudioConfig result = new com.google.cloud.dialogflow.v2.InputAudioConfig(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.audioEncoding_ = audioEncoding_; result.sampleRateHertz_ = sampleRateHertz_; result.languageCode_ = languageCode_; - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { phraseHints_ = phraseHints_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000001); } result.phraseHints_ = phraseHints_; result.modelVariant_ = modelVariant_; result.singleUtterance_ = singleUtterance_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -745,7 +774,7 @@ public Builder mergeFrom(com.google.cloud.dialogflow.v2.InputAudioConfig other) if (!other.phraseHints_.isEmpty()) { if (phraseHints_.isEmpty()) { phraseHints_ = other.phraseHints_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePhraseHintsIsMutable(); phraseHints_.addAll(other.phraseHints_); @@ -798,6 +827,8 @@ public Builder mergeFrom( * * * .google.cloud.dialogflow.v2.AudioEncoding audio_encoding = 1; + * + * @return The enum numeric value on the wire for audioEncoding. */ public int getAudioEncodingValue() { return audioEncoding_; @@ -810,6 +841,9 @@ public int getAudioEncodingValue() { * * * .google.cloud.dialogflow.v2.AudioEncoding audio_encoding = 1; + * + * @param value The enum numeric value on the wire for audioEncoding to set. + * @return This builder for chaining. */ public Builder setAudioEncodingValue(int value) { audioEncoding_ = value; @@ -824,6 +858,8 @@ public Builder setAudioEncodingValue(int value) { * * * .google.cloud.dialogflow.v2.AudioEncoding audio_encoding = 1; + * + * @return The audioEncoding. */ public com.google.cloud.dialogflow.v2.AudioEncoding getAudioEncoding() { @SuppressWarnings("deprecation") @@ -839,6 +875,9 @@ public com.google.cloud.dialogflow.v2.AudioEncoding getAudioEncoding() { * * * .google.cloud.dialogflow.v2.AudioEncoding audio_encoding = 1; + * + * @param value The audioEncoding to set. + * @return This builder for chaining. */ public Builder setAudioEncoding(com.google.cloud.dialogflow.v2.AudioEncoding value) { if (value == null) { @@ -857,6 +896,8 @@ public Builder setAudioEncoding(com.google.cloud.dialogflow.v2.AudioEncoding val * * * .google.cloud.dialogflow.v2.AudioEncoding audio_encoding = 1; + * + * @return This builder for chaining. */ public Builder clearAudioEncoding() { @@ -878,6 +919,8 @@ public Builder clearAudioEncoding() { * * * int32 sample_rate_hertz = 2; + * + * @return The sampleRateHertz. */ public int getSampleRateHertz() { return sampleRateHertz_; @@ -894,6 +937,9 @@ public int getSampleRateHertz() { * * * int32 sample_rate_hertz = 2; + * + * @param value The sampleRateHertz to set. + * @return This builder for chaining. */ public Builder setSampleRateHertz(int value) { @@ -913,6 +959,8 @@ public Builder setSampleRateHertz(int value) { * * * int32 sample_rate_hertz = 2; + * + * @return This builder for chaining. */ public Builder clearSampleRateHertz() { @@ -934,6 +982,8 @@ public Builder clearSampleRateHertz() { * * * string language_code = 3; + * + * @return The languageCode. */ public java.lang.String getLanguageCode() { java.lang.Object ref = languageCode_; @@ -958,6 +1008,8 @@ public java.lang.String getLanguageCode() { * * * string language_code = 3; + * + * @return The bytes for languageCode. */ public com.google.protobuf.ByteString getLanguageCodeBytes() { java.lang.Object ref = languageCode_; @@ -982,6 +1034,9 @@ public com.google.protobuf.ByteString getLanguageCodeBytes() { * * * string language_code = 3; + * + * @param value The languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCode(java.lang.String value) { if (value == null) { @@ -1004,6 +1059,8 @@ public Builder setLanguageCode(java.lang.String value) { * * * string language_code = 3; + * + * @return This builder for chaining. */ public Builder clearLanguageCode() { @@ -1023,6 +1080,9 @@ public Builder clearLanguageCode() { * * * string language_code = 3; + * + * @param value The bytes for languageCode to set. + * @return This builder for chaining. */ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1039,9 +1099,9 @@ public Builder setLanguageCodeBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePhraseHintsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { phraseHints_ = new com.google.protobuf.LazyStringArrayList(phraseHints_); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000001; } } /** @@ -1056,6 +1116,8 @@ private void ensurePhraseHintsIsMutable() { * * * repeated string phrase_hints = 4; + * + * @return A list containing the phraseHints. */ public com.google.protobuf.ProtocolStringList getPhraseHintsList() { return phraseHints_.getUnmodifiableView(); @@ -1072,6 +1134,8 @@ public com.google.protobuf.ProtocolStringList getPhraseHintsList() { * * * repeated string phrase_hints = 4; + * + * @return The count of phraseHints. */ public int getPhraseHintsCount() { return phraseHints_.size(); @@ -1088,6 +1152,9 @@ public int getPhraseHintsCount() { * * * repeated string phrase_hints = 4; + * + * @param index The index of the element to return. + * @return The phraseHints at the given index. */ public java.lang.String getPhraseHints(int index) { return phraseHints_.get(index); @@ -1104,6 +1171,9 @@ public java.lang.String getPhraseHints(int index) { * * * repeated string phrase_hints = 4; + * + * @param index The index of the value to return. + * @return The bytes of the phraseHints at the given index. */ public com.google.protobuf.ByteString getPhraseHintsBytes(int index) { return phraseHints_.getByteString(index); @@ -1120,6 +1190,10 @@ public com.google.protobuf.ByteString getPhraseHintsBytes(int index) { * * * repeated string phrase_hints = 4; + * + * @param index The index to set the value at. + * @param value The phraseHints to set. + * @return This builder for chaining. */ public Builder setPhraseHints(int index, java.lang.String value) { if (value == null) { @@ -1142,6 +1216,9 @@ public Builder setPhraseHints(int index, java.lang.String value) { * * * repeated string phrase_hints = 4; + * + * @param value The phraseHints to add. + * @return This builder for chaining. */ public Builder addPhraseHints(java.lang.String value) { if (value == null) { @@ -1164,6 +1241,9 @@ public Builder addPhraseHints(java.lang.String value) { * * * repeated string phrase_hints = 4; + * + * @param values The phraseHints to add. + * @return This builder for chaining. */ public Builder addAllPhraseHints(java.lang.Iterable values) { ensurePhraseHintsIsMutable(); @@ -1183,10 +1263,12 @@ public Builder addAllPhraseHints(java.lang.Iterable values) { * * * repeated string phrase_hints = 4; + * + * @return This builder for chaining. */ public Builder clearPhraseHints() { phraseHints_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -1202,6 +1284,9 @@ public Builder clearPhraseHints() { * * * repeated string phrase_hints = 4; + * + * @param value The bytes of the phraseHints to add. + * @return This builder for chaining. */ public Builder addPhraseHintsBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1223,6 +1308,8 @@ public Builder addPhraseHintsBytes(com.google.protobuf.ByteString value) { * * * .google.cloud.dialogflow.v2.SpeechModelVariant model_variant = 10; + * + * @return The enum numeric value on the wire for modelVariant. */ public int getModelVariantValue() { return modelVariant_; @@ -1235,6 +1322,9 @@ public int getModelVariantValue() { * * * .google.cloud.dialogflow.v2.SpeechModelVariant model_variant = 10; + * + * @param value The enum numeric value on the wire for modelVariant to set. + * @return This builder for chaining. */ public Builder setModelVariantValue(int value) { modelVariant_ = value; @@ -1249,6 +1339,8 @@ public Builder setModelVariantValue(int value) { * * * .google.cloud.dialogflow.v2.SpeechModelVariant model_variant = 10; + * + * @return The modelVariant. */ public com.google.cloud.dialogflow.v2.SpeechModelVariant getModelVariant() { @SuppressWarnings("deprecation") @@ -1266,6 +1358,9 @@ public com.google.cloud.dialogflow.v2.SpeechModelVariant getModelVariant() { * * * .google.cloud.dialogflow.v2.SpeechModelVariant model_variant = 10; + * + * @param value The modelVariant to set. + * @return This builder for chaining. */ public Builder setModelVariant(com.google.cloud.dialogflow.v2.SpeechModelVariant value) { if (value == null) { @@ -1284,6 +1379,8 @@ public Builder setModelVariant(com.google.cloud.dialogflow.v2.SpeechModelVariant * * * .google.cloud.dialogflow.v2.SpeechModelVariant model_variant = 10; + * + * @return This builder for chaining. */ public Builder clearModelVariant() { @@ -1310,6 +1407,8 @@ public Builder clearModelVariant() { * * * bool single_utterance = 8; + * + * @return The singleUtterance. */ public boolean getSingleUtterance() { return singleUtterance_; @@ -1331,6 +1430,9 @@ public boolean getSingleUtterance() { * * * bool single_utterance = 8; + * + * @param value The singleUtterance to set. + * @return This builder for chaining. */ public Builder setSingleUtterance(boolean value) { @@ -1355,6 +1457,8 @@ public Builder setSingleUtterance(boolean value) { * * * bool single_utterance = 8; + * + * @return This builder for chaining. */ public Builder clearSingleUtterance() { diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfigOrBuilder.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfigOrBuilder.java index 8ed8df995..b20d50185 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfigOrBuilder.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/InputAudioConfigOrBuilder.java @@ -31,6 +31,8 @@ public interface InputAudioConfigOrBuilder * * * .google.cloud.dialogflow.v2.AudioEncoding audio_encoding = 1; + * + * @return The enum numeric value on the wire for audioEncoding. */ int getAudioEncodingValue(); /** @@ -41,6 +43,8 @@ public interface InputAudioConfigOrBuilder * * * .google.cloud.dialogflow.v2.AudioEncoding audio_encoding = 1; + * + * @return The audioEncoding. */ com.google.cloud.dialogflow.v2.AudioEncoding getAudioEncoding(); @@ -56,6 +60,8 @@ public interface InputAudioConfigOrBuilder * * * int32 sample_rate_hertz = 2; + * + * @return The sampleRateHertz. */ int getSampleRateHertz(); @@ -71,6 +77,8 @@ public interface InputAudioConfigOrBuilder * * * string language_code = 3; + * + * @return The languageCode. */ java.lang.String getLanguageCode(); /** @@ -85,6 +93,8 @@ public interface InputAudioConfigOrBuilder * * * string language_code = 3; + * + * @return The bytes for languageCode. */ com.google.protobuf.ByteString getLanguageCodeBytes(); @@ -100,6 +110,8 @@ public interface InputAudioConfigOrBuilder * * * repeated string phrase_hints = 4; + * + * @return A list containing the phraseHints. */ java.util.List getPhraseHintsList(); /** @@ -114,6 +126,8 @@ public interface InputAudioConfigOrBuilder * * * repeated string phrase_hints = 4; + * + * @return The count of phraseHints. */ int getPhraseHintsCount(); /** @@ -128,6 +142,9 @@ public interface InputAudioConfigOrBuilder * * * repeated string phrase_hints = 4; + * + * @param index The index of the element to return. + * @return The phraseHints at the given index. */ java.lang.String getPhraseHints(int index); /** @@ -142,6 +159,9 @@ public interface InputAudioConfigOrBuilder * * * repeated string phrase_hints = 4; + * + * @param index The index of the value to return. + * @return The bytes of the phraseHints at the given index. */ com.google.protobuf.ByteString getPhraseHintsBytes(int index); @@ -153,6 +173,8 @@ public interface InputAudioConfigOrBuilder * * * .google.cloud.dialogflow.v2.SpeechModelVariant model_variant = 10; + * + * @return The enum numeric value on the wire for modelVariant. */ int getModelVariantValue(); /** @@ -163,6 +185,8 @@ public interface InputAudioConfigOrBuilder * * * .google.cloud.dialogflow.v2.SpeechModelVariant model_variant = 10; + * + * @return The modelVariant. */ com.google.cloud.dialogflow.v2.SpeechModelVariant getModelVariant(); @@ -183,6 +207,8 @@ public interface InputAudioConfigOrBuilder * * * bool single_utterance = 8; + * + * @return The singleUtterance. */ boolean getSingleUtterance(); } diff --git a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Intent.java b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Intent.java index e5d36390f..6fd2133b7 100644 --- a/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Intent.java +++ b/proto-google-cloud-dialogflow-v2/src/main/java/com/google/cloud/dialogflow/v2/Intent.java @@ -56,6 +56,12 @@ private Intent() { followupIntentInfo_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Intent(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -114,9 +120,9 @@ private Intent( case 58: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000040) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { inputContextNames_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000040; + mutable_bitField0_ |= 0x00000001; } inputContextNames_.add(s); break; @@ -124,19 +130,19 @@ private Intent( case 66: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000080) != 0)) { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { events_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000080; + mutable_bitField0_ |= 0x00000002; } events_.add(s); break; } case 74: { - if (!((mutable_bitField0_ & 0x00000100) != 0)) { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { trainingPhrases_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000100; + mutable_bitField0_ |= 0x00000004; } trainingPhrases_.add( input.readMessage( @@ -153,9 +159,9 @@ private Intent( } case 90: { - if (!((mutable_bitField0_ & 0x00000400) != 0)) { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { outputContexts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000400; + mutable_bitField0_ |= 0x00000008; } outputContexts_.add( input.readMessage( @@ -169,10 +175,10 @@ private Intent( } case 106: { - if (!((mutable_bitField0_ & 0x00001000) != 0)) { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { parameters_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00001000; + mutable_bitField0_ |= 0x00000010; } parameters_.add( input.readMessage( @@ -181,10 +187,10 @@ private Intent( } case 114: { - if (!((mutable_bitField0_ & 0x00002000) != 0)) { + if (!((mutable_bitField0_ & 0x00000020) != 0)) { messages_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00002000; + mutable_bitField0_ |= 0x00000020; } messages_.add( input.readMessage( @@ -194,9 +200,9 @@ private Intent( case 120: { int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00004000) != 0)) { + if (!((mutable_bitField0_ & 0x00000040) != 0)) { defaultResponsePlatforms_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00004000; + mutable_bitField0_ |= 0x00000040; } defaultResponsePlatforms_.add(rawValue); break; @@ -207,9 +213,9 @@ private Intent( int oldLimit = input.pushLimit(length); while (input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); - if (!((mutable_bitField0_ & 0x00004000) != 0)) { + if (!((mutable_bitField0_ & 0x00000040) != 0)) { defaultResponsePlatforms_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00004000; + mutable_bitField0_ |= 0x00000040; } defaultResponsePlatforms_.add(rawValue); } @@ -232,11 +238,11 @@ private Intent( } case 146: { - if (!((mutable_bitField0_ & 0x00020000) != 0)) { + if (!((mutable_bitField0_ & 0x00000080) != 0)) { followupIntentInfo_ = new java.util.ArrayList< com.google.cloud.dialogflow.v2.Intent.FollowupIntentInfo>(); - mutable_bitField0_ |= 0x00020000; + mutable_bitField0_ |= 0x00000080; } followupIntentInfo_.add( input.readMessage( @@ -263,29 +269,29 @@ private Intent( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000040) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { inputContextNames_ = inputContextNames_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000080) != 0)) { + if (((mutable_bitField0_ & 0x00000002) != 0)) { events_ = events_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000100) != 0)) { + if (((mutable_bitField0_ & 0x00000004) != 0)) { trainingPhrases_ = java.util.Collections.unmodifiableList(trainingPhrases_); } - if (((mutable_bitField0_ & 0x00000400) != 0)) { + if (((mutable_bitField0_ & 0x00000008) != 0)) { outputContexts_ = java.util.Collections.unmodifiableList(outputContexts_); } - if (((mutable_bitField0_ & 0x00001000) != 0)) { + if (((mutable_bitField0_ & 0x00000010) != 0)) { parameters_ = java.util.Collections.unmodifiableList(parameters_); } - if (((mutable_bitField0_ & 0x00002000) != 0)) { + if (((mutable_bitField0_ & 0x00000020) != 0)) { messages_ = java.util.Collections.unmodifiableList(messages_); } - if (((mutable_bitField0_ & 0x00004000) != 0)) { + if (((mutable_bitField0_ & 0x00000040) != 0)) { defaultResponsePlatforms_ = java.util.Collections.unmodifiableList(defaultResponsePlatforms_); } - if (((mutable_bitField0_ & 0x00020000) != 0)) { + if (((mutable_bitField0_ & 0x00000080) != 0)) { followupIntentInfo_ = java.util.Collections.unmodifiableList(followupIntentInfo_); } this.unknownFields = unknownFields.build(); @@ -392,12 +398,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static WebhookState valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static WebhookState forNumber(int value) { switch (value) { case 0: @@ -468,6 +482,8 @@ public interface TrainingPhraseOrBuilder * * * string name = 1; + * + * @return The name. */ java.lang.String getName(); /** @@ -478,6 +494,8 @@ public interface TrainingPhraseOrBuilder * * * string name = 1; + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -491,6 +509,8 @@ public interface TrainingPhraseOrBuilder * * .google.cloud.dialogflow.v2.Intent.TrainingPhrase.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** @@ -503,6 +523,8 @@ public interface TrainingPhraseOrBuilder * * .google.cloud.dialogflow.v2.Intent.TrainingPhrase.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The type. */ com.google.cloud.dialogflow.v2.Intent.TrainingPhrase.Type getType(); @@ -643,6 +665,8 @@ public interface TrainingPhraseOrBuilder * * * int32 times_added_count = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The timesAddedCount. */ int getTimesAddedCount(); } @@ -671,6 +695,12 @@ private TrainingPhrase() { parts_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new TrainingPhrase(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -711,11 +741,11 @@ private TrainingPhrase( } case 26: { - if (!((mutable_bitField0_ & 0x00000004) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { parts_ = new java.util.ArrayList< com.google.cloud.dialogflow.v2.Intent.TrainingPhrase.Part>(); - mutable_bitField0_ |= 0x00000004; + mutable_bitField0_ |= 0x00000001; } parts_.add( input.readMessage( @@ -742,7 +772,7 @@ private TrainingPhrase( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000004) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { parts_ = java.util.Collections.unmodifiableList(parts_); } this.unknownFields = unknownFields.build(); @@ -860,12 +890,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static Type valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static Type forNumber(int value) { switch (value) { case 0: @@ -938,6 +976,8 @@ public interface PartOrBuilder * * * string text = 1; + * + * @return The text. */ java.lang.String getText(); /** @@ -948,6 +988,8 @@ public interface PartOrBuilder * * * string text = 1; + * + * @return The bytes for text. */ com.google.protobuf.ByteString getTextBytes(); @@ -960,6 +1002,8 @@ public interface PartOrBuilder * * * string entity_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The entityType. */ java.lang.String getEntityType(); /** @@ -971,6 +1015,8 @@ public interface PartOrBuilder * * * string entity_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for entityType. */ com.google.protobuf.ByteString getEntityTypeBytes(); @@ -984,6 +1030,8 @@ public interface PartOrBuilder * * * string alias = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The alias. */ java.lang.String getAlias(); /** @@ -996,6 +1044,8 @@ public interface PartOrBuilder * * * string alias = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for alias. */ com.google.protobuf.ByteString getAliasBytes(); @@ -1010,6 +1060,8 @@ public interface PartOrBuilder * * * bool user_defined = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The userDefined. */ boolean getUserDefined(); } @@ -1038,6 +1090,12 @@ private Part() { alias_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Part(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -1051,7 +1109,6 @@ private Part( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -1133,6 +1190,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string text = 1; + * + * @return The text. */ public java.lang.String getText() { java.lang.Object ref = text_; @@ -1153,6 +1212,8 @@ public java.lang.String getText() { * * * string text = 1; + * + * @return The bytes for text. */ public com.google.protobuf.ByteString getTextBytes() { java.lang.Object ref = text_; @@ -1177,6 +1238,8 @@ public com.google.protobuf.ByteString getTextBytes() { * * * string entity_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The entityType. */ public java.lang.String getEntityType() { java.lang.Object ref = entityType_; @@ -1198,6 +1261,8 @@ public java.lang.String getEntityType() { * * * string entity_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for entityType. */ public com.google.protobuf.ByteString getEntityTypeBytes() { java.lang.Object ref = entityType_; @@ -1223,6 +1288,8 @@ public com.google.protobuf.ByteString getEntityTypeBytes() { * * * string alias = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The alias. */ public java.lang.String getAlias() { java.lang.Object ref = alias_; @@ -1245,6 +1312,8 @@ public java.lang.String getAlias() { * * * string alias = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for alias. */ public com.google.protobuf.ByteString getAliasBytes() { java.lang.Object ref = alias_; @@ -1271,6 +1340,8 @@ public com.google.protobuf.ByteString getAliasBytes() { * * * bool user_defined = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The userDefined. */ public boolean getUserDefined() { return userDefined_; @@ -1658,6 +1729,8 @@ public Builder mergeFrom( * * * string text = 1; + * + * @return The text. */ public java.lang.String getText() { java.lang.Object ref = text_; @@ -1678,6 +1751,8 @@ public java.lang.String getText() { * * * string text = 1; + * + * @return The bytes for text. */ public com.google.protobuf.ByteString getTextBytes() { java.lang.Object ref = text_; @@ -1698,6 +1773,9 @@ public com.google.protobuf.ByteString getTextBytes() { * * * string text = 1; + * + * @param value The text to set. + * @return This builder for chaining. */ public Builder setText(java.lang.String value) { if (value == null) { @@ -1716,6 +1794,8 @@ public Builder setText(java.lang.String value) { * * * string text = 1; + * + * @return This builder for chaining. */ public Builder clearText() { @@ -1731,6 +1811,9 @@ public Builder clearText() { * * * string text = 1; + * + * @param value The bytes for text to set. + * @return This builder for chaining. */ public Builder setTextBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1753,6 +1836,8 @@ public Builder setTextBytes(com.google.protobuf.ByteString value) { * * * string entity_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The entityType. */ public java.lang.String getEntityType() { java.lang.Object ref = entityType_; @@ -1774,6 +1859,8 @@ public java.lang.String getEntityType() { * * * string entity_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for entityType. */ public com.google.protobuf.ByteString getEntityTypeBytes() { java.lang.Object ref = entityType_; @@ -1795,6 +1882,9 @@ public com.google.protobuf.ByteString getEntityTypeBytes() { * * * string entity_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The entityType to set. + * @return This builder for chaining. */ public Builder setEntityType(java.lang.String value) { if (value == null) { @@ -1814,6 +1904,8 @@ public Builder setEntityType(java.lang.String value) { * * * string entity_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearEntityType() { @@ -1830,6 +1922,9 @@ public Builder clearEntityType() { * * * string entity_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for entityType to set. + * @return This builder for chaining. */ public Builder setEntityTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1853,6 +1948,8 @@ public Builder setEntityTypeBytes(com.google.protobuf.ByteString value) { * * * string alias = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The alias. */ public java.lang.String getAlias() { java.lang.Object ref = alias_; @@ -1875,6 +1972,8 @@ public java.lang.String getAlias() { * * * string alias = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for alias. */ public com.google.protobuf.ByteString getAliasBytes() { java.lang.Object ref = alias_; @@ -1897,6 +1996,9 @@ public com.google.protobuf.ByteString getAliasBytes() { * * * string alias = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The alias to set. + * @return This builder for chaining. */ public Builder setAlias(java.lang.String value) { if (value == null) { @@ -1917,6 +2019,8 @@ public Builder setAlias(java.lang.String value) { * * * string alias = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearAlias() { @@ -1934,6 +2038,9 @@ public Builder clearAlias() { * * * string alias = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for alias to set. + * @return This builder for chaining. */ public Builder setAliasBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -1958,6 +2065,8 @@ public Builder setAliasBytes(com.google.protobuf.ByteString value) { * * * bool user_defined = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The userDefined. */ public boolean getUserDefined() { return userDefined_; @@ -1973,6 +2082,9 @@ public boolean getUserDefined() { * * * bool user_defined = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The userDefined to set. + * @return This builder for chaining. */ public Builder setUserDefined(boolean value) { @@ -1991,6 +2103,8 @@ public Builder setUserDefined(boolean value) { * * * bool user_defined = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearUserDefined() { @@ -2052,7 +2166,6 @@ public com.google.cloud.dialogflow.v2.Intent.TrainingPhrase.Part getDefaultInsta } } - private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** @@ -2063,6 +2176,8 @@ public com.google.cloud.dialogflow.v2.Intent.TrainingPhrase.Part getDefaultInsta * * * string name = 1; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -2083,6 +2198,8 @@ public java.lang.String getName() { * * * string name = 1; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -2108,6 +2225,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * .google.cloud.dialogflow.v2.Intent.TrainingPhrase.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The enum numeric value on the wire for type. */ public int getTypeValue() { return type_; @@ -2122,6 +2241,8 @@ public int getTypeValue() { * * .google.cloud.dialogflow.v2.Intent.TrainingPhrase.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The type. */ public com.google.cloud.dialogflow.v2.Intent.TrainingPhrase.Type getType() { @SuppressWarnings("deprecation") @@ -2286,6 +2407,8 @@ public com.google.cloud.dialogflow.v2.Intent.TrainingPhrase.PartOrBuilder getPar * * * int32 times_added_count = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The timesAddedCount. */ public int getTimesAddedCount() { return timesAddedCount_; @@ -2539,7 +2662,7 @@ public Builder clear() { if (partsBuilder_ == null) { parts_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); } else { partsBuilder_.clear(); } @@ -2573,20 +2696,18 @@ public com.google.cloud.dialogflow.v2.Intent.TrainingPhrase buildPartial() { com.google.cloud.dialogflow.v2.Intent.TrainingPhrase result = new com.google.cloud.dialogflow.v2.Intent.TrainingPhrase(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.name_ = name_; result.type_ = type_; if (partsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { parts_ = java.util.Collections.unmodifiableList(parts_); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); } result.parts_ = parts_; } else { result.parts_ = partsBuilder_.build(); } result.timesAddedCount_ = timesAddedCount_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -2650,7 +2771,7 @@ public Builder mergeFrom(com.google.cloud.dialogflow.v2.Intent.TrainingPhrase ot if (!other.parts_.isEmpty()) { if (parts_.isEmpty()) { parts_ = other.parts_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePartsIsMutable(); parts_.addAll(other.parts_); @@ -2663,7 +2784,7 @@ public Builder mergeFrom(com.google.cloud.dialogflow.v2.Intent.TrainingPhrase ot partsBuilder_.dispose(); partsBuilder_ = null; parts_ = other.parts_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); partsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPartsFieldBuilder() @@ -2717,6 +2838,8 @@ public Builder mergeFrom( * * * string name = 1; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -2737,6 +2860,8 @@ public java.lang.String getName() { * * * string name = 1; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -2757,6 +2882,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string name = 1; + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -2775,6 +2903,8 @@ public Builder setName(java.lang.String value) { * * * string name = 1; + * + * @return This builder for chaining. */ public Builder clearName() { @@ -2790,6 +2920,9 @@ public Builder clearName() { * * * string name = 1; + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -2813,6 +2946,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * .google.cloud.dialogflow.v2.Intent.TrainingPhrase.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The enum numeric value on the wire for type. */ public int getTypeValue() { return type_; @@ -2827,6 +2962,9 @@ public int getTypeValue() { * * .google.cloud.dialogflow.v2.Intent.TrainingPhrase.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @param value The enum numeric value on the wire for type to set. + * @return This builder for chaining. */ public Builder setTypeValue(int value) { type_ = value; @@ -2843,6 +2981,8 @@ public Builder setTypeValue(int value) { * * .google.cloud.dialogflow.v2.Intent.TrainingPhrase.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return The type. */ public com.google.cloud.dialogflow.v2.Intent.TrainingPhrase.Type getType() { @SuppressWarnings("deprecation") @@ -2862,6 +3002,9 @@ public com.google.cloud.dialogflow.v2.Intent.TrainingPhrase.Type getType() { * * .google.cloud.dialogflow.v2.Intent.TrainingPhrase.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @param value The type to set. + * @return This builder for chaining. */ public Builder setType(com.google.cloud.dialogflow.v2.Intent.TrainingPhrase.Type value) { if (value == null) { @@ -2882,6 +3025,8 @@ public Builder setType(com.google.cloud.dialogflow.v2.Intent.TrainingPhrase.Type * * .google.cloud.dialogflow.v2.Intent.TrainingPhrase.Type type = 2 [(.google.api.field_behavior) = REQUIRED]; * + * + * @return This builder for chaining. */ public Builder clearType() { @@ -2894,11 +3039,11 @@ public Builder clearType() { java.util.Collections.emptyList(); private void ensurePartsIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { parts_ = new java.util.ArrayList( parts_); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000001; } } @@ -3285,7 +3430,7 @@ public Builder addAllParts( public Builder clearParts() { if (partsBuilder_ == null) { parts_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { partsBuilder_.clear(); @@ -3519,7 +3664,7 @@ public com.google.cloud.dialogflow.v2.Intent.TrainingPhrase.Part.Builder addPart com.google.cloud.dialogflow.v2.Intent.TrainingPhrase.Part, com.google.cloud.dialogflow.v2.Intent.TrainingPhrase.Part.Builder, com.google.cloud.dialogflow.v2.Intent.TrainingPhrase.PartOrBuilder>( - parts_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + parts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); parts_ = null; } return partsBuilder_; @@ -3536,6 +3681,8 @@ public com.google.cloud.dialogflow.v2.Intent.TrainingPhrase.Part.Builder addPart * * * int32 times_added_count = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The timesAddedCount. */ public int getTimesAddedCount() { return timesAddedCount_; @@ -3550,6 +3697,9 @@ public int getTimesAddedCount() { * * * int32 times_added_count = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The timesAddedCount to set. + * @return This builder for chaining. */ public Builder setTimesAddedCount(int value) { @@ -3567,6 +3717,8 @@ public Builder setTimesAddedCount(int value) { * * * int32 times_added_count = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearTimesAddedCount() { @@ -3640,6 +3792,8 @@ public interface ParameterOrBuilder * * * string name = 1; + * + * @return The name. */ java.lang.String getName(); /** @@ -3650,6 +3804,8 @@ public interface ParameterOrBuilder * * * string name = 1; + * + * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); @@ -3661,6 +3817,8 @@ public interface ParameterOrBuilder * * * string display_name = 2; + * + * @return The displayName. */ java.lang.String getDisplayName(); /** @@ -3671,6 +3829,8 @@ public interface ParameterOrBuilder * * * string display_name = 2; + * + * @return The bytes for displayName. */ com.google.protobuf.ByteString getDisplayNameBytes(); @@ -3687,6 +3847,8 @@ public interface ParameterOrBuilder * * * string value = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The value. */ java.lang.String getValue(); /** @@ -3702,6 +3864,8 @@ public interface ParameterOrBuilder * * * string value = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for value. */ com.google.protobuf.ByteString getValueBytes(); @@ -3716,6 +3880,8 @@ public interface ParameterOrBuilder * * * string default_value = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The defaultValue. */ java.lang.String getDefaultValue(); /** @@ -3729,6 +3895,8 @@ public interface ParameterOrBuilder * * * string default_value = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for defaultValue. */ com.google.protobuf.ByteString getDefaultValueBytes(); @@ -3742,6 +3910,8 @@ public interface ParameterOrBuilder * * * string entity_type_display_name = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The entityTypeDisplayName. */ java.lang.String getEntityTypeDisplayName(); /** @@ -3754,6 +3924,8 @@ public interface ParameterOrBuilder * * * string entity_type_display_name = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for entityTypeDisplayName. */ com.google.protobuf.ByteString getEntityTypeDisplayNameBytes(); @@ -3767,6 +3939,8 @@ public interface ParameterOrBuilder * * * bool mandatory = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The mandatory. */ boolean getMandatory(); @@ -3779,6 +3953,8 @@ public interface ParameterOrBuilder * * * repeated string prompts = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the prompts. */ java.util.List getPromptsList(); /** @@ -3790,6 +3966,8 @@ public interface ParameterOrBuilder * * * repeated string prompts = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of prompts. */ int getPromptsCount(); /** @@ -3801,6 +3979,9 @@ public interface ParameterOrBuilder * * * repeated string prompts = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The prompts at the given index. */ java.lang.String getPrompts(int index); /** @@ -3812,6 +3993,9 @@ public interface ParameterOrBuilder * * * repeated string prompts = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the prompts at the given index. */ com.google.protobuf.ByteString getPromptsBytes(int index); @@ -3823,6 +4007,8 @@ public interface ParameterOrBuilder * * * bool is_list = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The isList. */ boolean getIsList(); } @@ -3854,6 +4040,12 @@ private Parameter() { prompts_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Parameter(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -3921,9 +4113,9 @@ private Parameter( case 58: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000040) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { prompts_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000040; + mutable_bitField0_ |= 0x00000001; } prompts_.add(s); break; @@ -3947,7 +4139,7 @@ private Parameter( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000040) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { prompts_ = prompts_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -3970,7 +4162,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.dialogflow.v2.Intent.Parameter.Builder.class); } - private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** @@ -3981,6 +4172,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string name = 1; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -4001,6 +4194,8 @@ public java.lang.String getName() { * * * string name = 1; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -4024,6 +4219,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string display_name = 2; + * + * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; @@ -4044,6 +4241,8 @@ public java.lang.String getDisplayName() { * * * string display_name = 2; + * + * @return The bytes for displayName. */ public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; @@ -4072,6 +4271,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * * * string value = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; @@ -4097,6 +4298,8 @@ public java.lang.String getValue() { * * * string value = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for value. */ public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; @@ -4123,6 +4326,8 @@ public com.google.protobuf.ByteString getValueBytes() { * * * string default_value = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The defaultValue. */ public java.lang.String getDefaultValue() { java.lang.Object ref = defaultValue_; @@ -4146,6 +4351,8 @@ public java.lang.String getDefaultValue() { * * * string default_value = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for defaultValue. */ public com.google.protobuf.ByteString getDefaultValueBytes() { java.lang.Object ref = defaultValue_; @@ -4171,6 +4378,8 @@ public com.google.protobuf.ByteString getDefaultValueBytes() { * * * string entity_type_display_name = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The entityTypeDisplayName. */ public java.lang.String getEntityTypeDisplayName() { java.lang.Object ref = entityTypeDisplayName_; @@ -4193,6 +4402,8 @@ public java.lang.String getEntityTypeDisplayName() { * * * string entity_type_display_name = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for entityTypeDisplayName. */ public com.google.protobuf.ByteString getEntityTypeDisplayNameBytes() { java.lang.Object ref = entityTypeDisplayName_; @@ -4218,6 +4429,8 @@ public com.google.protobuf.ByteString getEntityTypeDisplayNameBytes() { * * * bool mandatory = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The mandatory. */ public boolean getMandatory() { return mandatory_; @@ -4234,6 +4447,8 @@ public boolean getMandatory() { * * * repeated string prompts = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the prompts. */ public com.google.protobuf.ProtocolStringList getPromptsList() { return prompts_; @@ -4247,6 +4462,8 @@ public com.google.protobuf.ProtocolStringList getPromptsList() { * * * repeated string prompts = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of prompts. */ public int getPromptsCount() { return prompts_.size(); @@ -4260,6 +4477,9 @@ public int getPromptsCount() { * * * repeated string prompts = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The prompts at the given index. */ public java.lang.String getPrompts(int index) { return prompts_.get(index); @@ -4273,6 +4493,9 @@ public java.lang.String getPrompts(int index) { * * * repeated string prompts = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the prompts at the given index. */ public com.google.protobuf.ByteString getPromptsBytes(int index) { return prompts_.getByteString(index); @@ -4288,6 +4511,8 @@ public com.google.protobuf.ByteString getPromptsBytes(int index) { * * * bool is_list = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The isList. */ public boolean getIsList() { return isList_; @@ -4582,7 +4807,7 @@ public Builder clear() { mandatory_ = false; prompts_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000001); isList_ = false; return this; @@ -4613,20 +4838,18 @@ public com.google.cloud.dialogflow.v2.Intent.Parameter buildPartial() { com.google.cloud.dialogflow.v2.Intent.Parameter result = new com.google.cloud.dialogflow.v2.Intent.Parameter(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.name_ = name_; result.displayName_ = displayName_; result.value_ = value_; result.defaultValue_ = defaultValue_; result.entityTypeDisplayName_ = entityTypeDisplayName_; result.mandatory_ = mandatory_; - if (((bitField0_ & 0x00000040) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { prompts_ = prompts_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000001); } result.prompts_ = prompts_; result.isList_ = isList_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -4705,7 +4928,7 @@ public Builder mergeFrom(com.google.cloud.dialogflow.v2.Intent.Parameter other) if (!other.prompts_.isEmpty()) { if (prompts_.isEmpty()) { prompts_ = other.prompts_; - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePromptsIsMutable(); prompts_.addAll(other.prompts_); @@ -4756,6 +4979,8 @@ public Builder mergeFrom( * * * string name = 1; + * + * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; @@ -4776,6 +5001,8 @@ public java.lang.String getName() { * * * string name = 1; + * + * @return The bytes for name. */ public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; @@ -4796,6 +5023,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * * string name = 1; + * + * @param value The name to set. + * @return This builder for chaining. */ public Builder setName(java.lang.String value) { if (value == null) { @@ -4814,6 +5044,8 @@ public Builder setName(java.lang.String value) { * * * string name = 1; + * + * @return This builder for chaining. */ public Builder clearName() { @@ -4829,6 +5061,9 @@ public Builder clearName() { * * * string name = 1; + * + * @param value The bytes for name to set. + * @return This builder for chaining. */ public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -4850,6 +5085,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * * string display_name = 2; + * + * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; @@ -4870,6 +5107,8 @@ public java.lang.String getDisplayName() { * * * string display_name = 2; + * + * @return The bytes for displayName. */ public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; @@ -4890,6 +5129,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * * * string display_name = 2; + * + * @param value The displayName to set. + * @return This builder for chaining. */ public Builder setDisplayName(java.lang.String value) { if (value == null) { @@ -4908,6 +5150,8 @@ public Builder setDisplayName(java.lang.String value) { * * * string display_name = 2; + * + * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -4923,6 +5167,9 @@ public Builder clearDisplayName() { * * * string display_name = 2; + * + * @param value The bytes for displayName to set. + * @return This builder for chaining. */ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -4949,6 +5196,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { * * * string value = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The value. */ public java.lang.String getValue() { java.lang.Object ref = value_; @@ -4974,6 +5223,8 @@ public java.lang.String getValue() { * * * string value = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for value. */ public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; @@ -4999,6 +5250,9 @@ public com.google.protobuf.ByteString getValueBytes() { * * * string value = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The value to set. + * @return This builder for chaining. */ public Builder setValue(java.lang.String value) { if (value == null) { @@ -5022,6 +5276,8 @@ public Builder setValue(java.lang.String value) { * * * string value = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearValue() { @@ -5042,6 +5298,9 @@ public Builder clearValue() { * * * string value = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for value to set. + * @return This builder for chaining. */ public Builder setValueBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -5066,6 +5325,8 @@ public Builder setValueBytes(com.google.protobuf.ByteString value) { * * * string default_value = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The defaultValue. */ public java.lang.String getDefaultValue() { java.lang.Object ref = defaultValue_; @@ -5089,6 +5350,8 @@ public java.lang.String getDefaultValue() { * * * string default_value = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for defaultValue. */ public com.google.protobuf.ByteString getDefaultValueBytes() { java.lang.Object ref = defaultValue_; @@ -5112,6 +5375,9 @@ public com.google.protobuf.ByteString getDefaultValueBytes() { * * * string default_value = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The defaultValue to set. + * @return This builder for chaining. */ public Builder setDefaultValue(java.lang.String value) { if (value == null) { @@ -5133,6 +5399,8 @@ public Builder setDefaultValue(java.lang.String value) { * * * string default_value = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearDefaultValue() { @@ -5151,6 +5419,9 @@ public Builder clearDefaultValue() { * * * string default_value = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for defaultValue to set. + * @return This builder for chaining. */ public Builder setDefaultValueBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -5174,6 +5445,8 @@ public Builder setDefaultValueBytes(com.google.protobuf.ByteString value) { * * * string entity_type_display_name = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The entityTypeDisplayName. */ public java.lang.String getEntityTypeDisplayName() { java.lang.Object ref = entityTypeDisplayName_; @@ -5196,6 +5469,8 @@ public java.lang.String getEntityTypeDisplayName() { * * * string entity_type_display_name = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for entityTypeDisplayName. */ public com.google.protobuf.ByteString getEntityTypeDisplayNameBytes() { java.lang.Object ref = entityTypeDisplayName_; @@ -5218,6 +5493,9 @@ public com.google.protobuf.ByteString getEntityTypeDisplayNameBytes() { * * * string entity_type_display_name = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The entityTypeDisplayName to set. + * @return This builder for chaining. */ public Builder setEntityTypeDisplayName(java.lang.String value) { if (value == null) { @@ -5238,6 +5516,8 @@ public Builder setEntityTypeDisplayName(java.lang.String value) { * * * string entity_type_display_name = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearEntityTypeDisplayName() { @@ -5255,6 +5535,9 @@ public Builder clearEntityTypeDisplayName() { * * * string entity_type_display_name = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for entityTypeDisplayName to set. + * @return This builder for chaining. */ public Builder setEntityTypeDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -5278,6 +5561,8 @@ public Builder setEntityTypeDisplayNameBytes(com.google.protobuf.ByteString valu * * * bool mandatory = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The mandatory. */ public boolean getMandatory() { return mandatory_; @@ -5292,6 +5577,9 @@ public boolean getMandatory() { * * * bool mandatory = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The mandatory to set. + * @return This builder for chaining. */ public Builder setMandatory(boolean value) { @@ -5309,6 +5597,8 @@ public Builder setMandatory(boolean value) { * * * bool mandatory = 6 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearMandatory() { @@ -5321,9 +5611,9 @@ public Builder clearMandatory() { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePromptsIsMutable() { - if (!((bitField0_ & 0x00000040) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { prompts_ = new com.google.protobuf.LazyStringArrayList(prompts_); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000001; } } /** @@ -5335,6 +5625,8 @@ private void ensurePromptsIsMutable() { * * * repeated string prompts = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the prompts. */ public com.google.protobuf.ProtocolStringList getPromptsList() { return prompts_.getUnmodifiableView(); @@ -5348,6 +5640,8 @@ public com.google.protobuf.ProtocolStringList getPromptsList() { * * * repeated string prompts = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of prompts. */ public int getPromptsCount() { return prompts_.size(); @@ -5361,6 +5655,9 @@ public int getPromptsCount() { * * * repeated string prompts = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The prompts at the given index. */ public java.lang.String getPrompts(int index) { return prompts_.get(index); @@ -5374,6 +5671,9 @@ public java.lang.String getPrompts(int index) { * * * repeated string prompts = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the prompts at the given index. */ public com.google.protobuf.ByteString getPromptsBytes(int index) { return prompts_.getByteString(index); @@ -5387,6 +5687,10 @@ public com.google.protobuf.ByteString getPromptsBytes(int index) { * * * repeated string prompts = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The prompts to set. + * @return This builder for chaining. */ public Builder setPrompts(int index, java.lang.String value) { if (value == null) { @@ -5406,6 +5710,9 @@ public Builder setPrompts(int index, java.lang.String value) { * * * repeated string prompts = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The prompts to add. + * @return This builder for chaining. */ public Builder addPrompts(java.lang.String value) { if (value == null) { @@ -5425,6 +5732,9 @@ public Builder addPrompts(java.lang.String value) { * * * repeated string prompts = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param values The prompts to add. + * @return This builder for chaining. */ public Builder addAllPrompts(java.lang.Iterable values) { ensurePromptsIsMutable(); @@ -5441,10 +5751,12 @@ public Builder addAllPrompts(java.lang.Iterable values) { * * * repeated string prompts = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearPrompts() { prompts_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -5457,6 +5769,9 @@ public Builder clearPrompts() { * * * repeated string prompts = 7 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes of the prompts to add. + * @return This builder for chaining. */ public Builder addPromptsBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -5478,6 +5793,8 @@ public Builder addPromptsBytes(com.google.protobuf.ByteString value) { * * * bool is_list = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The isList. */ public boolean getIsList() { return isList_; @@ -5490,6 +5807,9 @@ public boolean getIsList() { * * * bool is_list = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The isList to set. + * @return This builder for chaining. */ public Builder setIsList(boolean value) { @@ -5505,6 +5825,8 @@ public Builder setIsList(boolean value) { * * * bool is_list = 8 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearIsList() { @@ -5578,6 +5900,8 @@ public interface MessageOrBuilder * * * .google.cloud.dialogflow.v2.Intent.Message.Text text = 1; + * + * @return Whether the text field is set. */ boolean hasText(); /** @@ -5588,6 +5912,8 @@ public interface MessageOrBuilder * * * .google.cloud.dialogflow.v2.Intent.Message.Text text = 1; + * + * @return The text. */ com.google.cloud.dialogflow.v2.Intent.Message.Text getText(); /** @@ -5609,6 +5935,8 @@ public interface MessageOrBuilder * * * .google.cloud.dialogflow.v2.Intent.Message.Image image = 2; + * + * @return Whether the image field is set. */ boolean hasImage(); /** @@ -5619,6 +5947,8 @@ public interface MessageOrBuilder * * * .google.cloud.dialogflow.v2.Intent.Message.Image image = 2; + * + * @return The image. */ com.google.cloud.dialogflow.v2.Intent.Message.Image getImage(); /** @@ -5640,6 +5970,8 @@ public interface MessageOrBuilder * * * .google.cloud.dialogflow.v2.Intent.Message.QuickReplies quick_replies = 3; + * + * @return Whether the quickReplies field is set. */ boolean hasQuickReplies(); /** @@ -5650,6 +5982,8 @@ public interface MessageOrBuilder * * * .google.cloud.dialogflow.v2.Intent.Message.QuickReplies quick_replies = 3; + * + * @return The quickReplies. */ com.google.cloud.dialogflow.v2.Intent.Message.QuickReplies getQuickReplies(); /** @@ -5671,6 +6005,8 @@ public interface MessageOrBuilder * * * .google.cloud.dialogflow.v2.Intent.Message.Card card = 4; + * + * @return Whether the card field is set. */ boolean hasCard(); /** @@ -5681,6 +6017,8 @@ public interface MessageOrBuilder * * * .google.cloud.dialogflow.v2.Intent.Message.Card card = 4; + * + * @return The card. */ com.google.cloud.dialogflow.v2.Intent.Message.Card getCard(); /** @@ -5704,6 +6042,8 @@ public interface MessageOrBuilder * * * .google.protobuf.Struct payload = 5; + * + * @return Whether the payload field is set. */ boolean hasPayload(); /** @@ -5716,6 +6056,8 @@ public interface MessageOrBuilder * * * .google.protobuf.Struct payload = 5; + * + * @return The payload. */ com.google.protobuf.Struct getPayload(); /** @@ -5739,6 +6081,8 @@ public interface MessageOrBuilder * * * .google.cloud.dialogflow.v2.Intent.Message.SimpleResponses simple_responses = 7; + * + * @return Whether the simpleResponses field is set. */ boolean hasSimpleResponses(); /** @@ -5749,6 +6093,8 @@ public interface MessageOrBuilder * * * .google.cloud.dialogflow.v2.Intent.Message.SimpleResponses simple_responses = 7; + * + * @return The simpleResponses. */ com.google.cloud.dialogflow.v2.Intent.Message.SimpleResponses getSimpleResponses(); /** @@ -5771,6 +6117,8 @@ public interface MessageOrBuilder * * * .google.cloud.dialogflow.v2.Intent.Message.BasicCard basic_card = 8; + * + * @return Whether the basicCard field is set. */ boolean hasBasicCard(); /** @@ -5781,6 +6129,8 @@ public interface MessageOrBuilder * * * .google.cloud.dialogflow.v2.Intent.Message.BasicCard basic_card = 8; + * + * @return The basicCard. */ com.google.cloud.dialogflow.v2.Intent.Message.BasicCard getBasicCard(); /** @@ -5802,6 +6152,8 @@ public interface MessageOrBuilder * * * .google.cloud.dialogflow.v2.Intent.Message.Suggestions suggestions = 9; + * + * @return Whether the suggestions field is set. */ boolean hasSuggestions(); /** @@ -5812,6 +6164,8 @@ public interface MessageOrBuilder * * * .google.cloud.dialogflow.v2.Intent.Message.Suggestions suggestions = 9; + * + * @return The suggestions. */ com.google.cloud.dialogflow.v2.Intent.Message.Suggestions getSuggestions(); /** @@ -5834,6 +6188,8 @@ public interface MessageOrBuilder * * .google.cloud.dialogflow.v2.Intent.Message.LinkOutSuggestion link_out_suggestion = 10; * + * + * @return Whether the linkOutSuggestion field is set. */ boolean hasLinkOutSuggestion(); /** @@ -5845,6 +6201,8 @@ public interface MessageOrBuilder * * .google.cloud.dialogflow.v2.Intent.Message.LinkOutSuggestion link_out_suggestion = 10; * + * + * @return The linkOutSuggestion. */ com.google.cloud.dialogflow.v2.Intent.Message.LinkOutSuggestion getLinkOutSuggestion(); /** @@ -5868,6 +6226,8 @@ public interface MessageOrBuilder * * * .google.cloud.dialogflow.v2.Intent.Message.ListSelect list_select = 11; + * + * @return Whether the listSelect field is set. */ boolean hasListSelect(); /** @@ -5878,6 +6238,8 @@ public interface MessageOrBuilder * * * .google.cloud.dialogflow.v2.Intent.Message.ListSelect list_select = 11; + * + * @return The listSelect. */ com.google.cloud.dialogflow.v2.Intent.Message.ListSelect getListSelect(); /** @@ -5899,6 +6261,8 @@ public interface MessageOrBuilder * * * .google.cloud.dialogflow.v2.Intent.Message.CarouselSelect carousel_select = 12; + * + * @return Whether the carouselSelect field is set. */ boolean hasCarouselSelect(); /** @@ -5909,6 +6273,8 @@ public interface MessageOrBuilder * * * .google.cloud.dialogflow.v2.Intent.Message.CarouselSelect carousel_select = 12; + * + * @return The carouselSelect. */ com.google.cloud.dialogflow.v2.Intent.Message.CarouselSelect getCarouselSelect(); /** @@ -5933,6 +6299,8 @@ public interface MessageOrBuilder * * .google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard browse_carousel_card = 22; * + * + * @return Whether the browseCarouselCard field is set. */ boolean hasBrowseCarouselCard(); /** @@ -5945,6 +6313,8 @@ public interface MessageOrBuilder * * .google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard browse_carousel_card = 22; * + * + * @return The browseCarouselCard. */ com.google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard getBrowseCarouselCard(); /** @@ -5969,6 +6339,8 @@ public interface MessageOrBuilder * * * .google.cloud.dialogflow.v2.Intent.Message.TableCard table_card = 23; + * + * @return Whether the tableCard field is set. */ boolean hasTableCard(); /** @@ -5979,6 +6351,8 @@ public interface MessageOrBuilder * * * .google.cloud.dialogflow.v2.Intent.Message.TableCard table_card = 23; + * + * @return The tableCard. */ com.google.cloud.dialogflow.v2.Intent.Message.TableCard getTableCard(); /** @@ -6000,6 +6374,8 @@ public interface MessageOrBuilder * * * .google.cloud.dialogflow.v2.Intent.Message.MediaContent media_content = 24; + * + * @return Whether the mediaContent field is set. */ boolean hasMediaContent(); /** @@ -6010,6 +6386,8 @@ public interface MessageOrBuilder * * * .google.cloud.dialogflow.v2.Intent.Message.MediaContent media_content = 24; + * + * @return The mediaContent. */ com.google.cloud.dialogflow.v2.Intent.Message.MediaContent getMediaContent(); /** @@ -6033,6 +6411,8 @@ public interface MessageOrBuilder * * .google.cloud.dialogflow.v2.Intent.Message.Platform platform = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The enum numeric value on the wire for platform. */ int getPlatformValue(); /** @@ -6045,6 +6425,8 @@ public interface MessageOrBuilder * * .google.cloud.dialogflow.v2.Intent.Message.Platform platform = 6 [(.google.api.field_behavior) = OPTIONAL]; * + * + * @return The platform. */ com.google.cloud.dialogflow.v2.Intent.Message.Platform getPlatform(); @@ -6073,6 +6455,12 @@ private Message() { platform_ = 0; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Message(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -6086,7 +6474,6 @@ private Message( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -6758,12 +7145,20 @@ public final int getNumber() { return value; } - /** @deprecated Use {@link #forNumber(int)} instead. */ + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ @java.lang.Deprecated public static Platform valueOf(int value) { return forNumber(value); } + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ public static Platform forNumber(int value) { switch (value) { case 0: @@ -6848,6 +7243,8 @@ public interface TextOrBuilder * * * repeated string text = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the text. */ java.util.List getTextList(); /** @@ -6858,6 +7255,8 @@ public interface TextOrBuilder * * * repeated string text = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of text. */ int getTextCount(); /** @@ -6868,6 +7267,9 @@ public interface TextOrBuilder * * * repeated string text = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The text at the given index. */ java.lang.String getText(int index); /** @@ -6878,6 +7280,9 @@ public interface TextOrBuilder * * * repeated string text = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the text at the given index. */ com.google.protobuf.ByteString getTextBytes(int index); } @@ -6904,6 +7309,12 @@ private Text() { text_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Text(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -6986,6 +7397,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * repeated string text = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the text. */ public com.google.protobuf.ProtocolStringList getTextList() { return text_; @@ -6998,6 +7411,8 @@ public com.google.protobuf.ProtocolStringList getTextList() { * * * repeated string text = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of text. */ public int getTextCount() { return text_.size(); @@ -7010,6 +7425,9 @@ public int getTextCount() { * * * repeated string text = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The text at the given index. */ public java.lang.String getText(int index) { return text_.get(index); @@ -7022,6 +7440,9 @@ public java.lang.String getText(int index) { * * * repeated string text = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the text at the given index. */ public com.google.protobuf.ByteString getTextBytes(int index) { return text_.getByteString(index); @@ -7387,6 +7808,8 @@ private void ensureTextIsMutable() { * * * repeated string text = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the text. */ public com.google.protobuf.ProtocolStringList getTextList() { return text_.getUnmodifiableView(); @@ -7399,6 +7822,8 @@ public com.google.protobuf.ProtocolStringList getTextList() { * * * repeated string text = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of text. */ public int getTextCount() { return text_.size(); @@ -7411,6 +7836,9 @@ public int getTextCount() { * * * repeated string text = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The text at the given index. */ public java.lang.String getText(int index) { return text_.get(index); @@ -7423,6 +7851,9 @@ public java.lang.String getText(int index) { * * * repeated string text = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the text at the given index. */ public com.google.protobuf.ByteString getTextBytes(int index) { return text_.getByteString(index); @@ -7435,6 +7866,10 @@ public com.google.protobuf.ByteString getTextBytes(int index) { * * * repeated string text = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The text to set. + * @return This builder for chaining. */ public Builder setText(int index, java.lang.String value) { if (value == null) { @@ -7453,6 +7888,9 @@ public Builder setText(int index, java.lang.String value) { * * * repeated string text = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The text to add. + * @return This builder for chaining. */ public Builder addText(java.lang.String value) { if (value == null) { @@ -7471,6 +7909,9 @@ public Builder addText(java.lang.String value) { * * * repeated string text = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param values The text to add. + * @return This builder for chaining. */ public Builder addAllText(java.lang.Iterable values) { ensureTextIsMutable(); @@ -7486,6 +7927,8 @@ public Builder addAllText(java.lang.Iterable values) { * * * repeated string text = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearText() { text_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -7501,6 +7944,9 @@ public Builder clearText() { * * * repeated string text = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes of the text to add. + * @return This builder for chaining. */ public Builder addTextBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -7578,6 +8024,8 @@ public interface ImageOrBuilder * * * string image_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The imageUri. */ java.lang.String getImageUri(); /** @@ -7588,6 +8036,8 @@ public interface ImageOrBuilder * * * string image_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for imageUri. */ com.google.protobuf.ByteString getImageUriBytes(); @@ -7600,6 +8050,8 @@ public interface ImageOrBuilder * * * string accessibility_text = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The accessibilityText. */ java.lang.String getAccessibilityText(); /** @@ -7611,6 +8063,8 @@ public interface ImageOrBuilder * * * string accessibility_text = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for accessibilityText. */ com.google.protobuf.ByteString getAccessibilityTextBytes(); } @@ -7638,6 +8092,12 @@ private Image() { accessibilityText_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Image(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -7651,7 +8111,6 @@ private Image( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -7721,6 +8180,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string image_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The imageUri. */ public java.lang.String getImageUri() { java.lang.Object ref = imageUri_; @@ -7741,6 +8202,8 @@ public java.lang.String getImageUri() { * * * string image_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for imageUri. */ public com.google.protobuf.ByteString getImageUriBytes() { java.lang.Object ref = imageUri_; @@ -7765,6 +8228,8 @@ public com.google.protobuf.ByteString getImageUriBytes() { * * * string accessibility_text = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The accessibilityText. */ public java.lang.String getAccessibilityText() { java.lang.Object ref = accessibilityText_; @@ -7786,6 +8251,8 @@ public java.lang.String getAccessibilityText() { * * * string accessibility_text = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for accessibilityText. */ public com.google.protobuf.ByteString getAccessibilityTextBytes() { java.lang.Object ref = accessibilityText_; @@ -8147,6 +8614,8 @@ public Builder mergeFrom( * * * string image_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The imageUri. */ public java.lang.String getImageUri() { java.lang.Object ref = imageUri_; @@ -8167,6 +8636,8 @@ public java.lang.String getImageUri() { * * * string image_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for imageUri. */ public com.google.protobuf.ByteString getImageUriBytes() { java.lang.Object ref = imageUri_; @@ -8187,6 +8658,9 @@ public com.google.protobuf.ByteString getImageUriBytes() { * * * string image_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The imageUri to set. + * @return This builder for chaining. */ public Builder setImageUri(java.lang.String value) { if (value == null) { @@ -8205,6 +8679,8 @@ public Builder setImageUri(java.lang.String value) { * * * string image_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearImageUri() { @@ -8220,6 +8696,9 @@ public Builder clearImageUri() { * * * string image_uri = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for imageUri to set. + * @return This builder for chaining. */ public Builder setImageUriBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -8242,6 +8721,8 @@ public Builder setImageUriBytes(com.google.protobuf.ByteString value) { * * * string accessibility_text = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The accessibilityText. */ public java.lang.String getAccessibilityText() { java.lang.Object ref = accessibilityText_; @@ -8263,6 +8744,8 @@ public java.lang.String getAccessibilityText() { * * * string accessibility_text = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for accessibilityText. */ public com.google.protobuf.ByteString getAccessibilityTextBytes() { java.lang.Object ref = accessibilityText_; @@ -8284,6 +8767,9 @@ public com.google.protobuf.ByteString getAccessibilityTextBytes() { * * * string accessibility_text = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The accessibilityText to set. + * @return This builder for chaining. */ public Builder setAccessibilityText(java.lang.String value) { if (value == null) { @@ -8303,6 +8789,8 @@ public Builder setAccessibilityText(java.lang.String value) { * * * string accessibility_text = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearAccessibilityText() { @@ -8319,6 +8807,9 @@ public Builder clearAccessibilityText() { * * * string accessibility_text = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for accessibilityText to set. + * @return This builder for chaining. */ public Builder setAccessibilityTextBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -8396,6 +8887,8 @@ public interface QuickRepliesOrBuilder * * * string title = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The title. */ java.lang.String getTitle(); /** @@ -8406,6 +8899,8 @@ public interface QuickRepliesOrBuilder * * * string title = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for title. */ com.google.protobuf.ByteString getTitleBytes(); @@ -8417,6 +8912,8 @@ public interface QuickRepliesOrBuilder * * * repeated string quick_replies = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the quickReplies. */ java.util.List getQuickRepliesList(); /** @@ -8427,6 +8924,8 @@ public interface QuickRepliesOrBuilder * * * repeated string quick_replies = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of quickReplies. */ int getQuickRepliesCount(); /** @@ -8437,6 +8936,9 @@ public interface QuickRepliesOrBuilder * * * repeated string quick_replies = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The quickReplies at the given index. */ java.lang.String getQuickReplies(int index); /** @@ -8447,6 +8949,9 @@ public interface QuickRepliesOrBuilder * * * repeated string quick_replies = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the quickReplies at the given index. */ com.google.protobuf.ByteString getQuickRepliesBytes(int index); } @@ -8474,6 +8979,12 @@ private QuickReplies() { quickReplies_ = com.google.protobuf.LazyStringArrayList.EMPTY; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new QuickReplies(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -8508,9 +9019,9 @@ private QuickReplies( case 18: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { quickReplies_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + mutable_bitField0_ |= 0x00000001; } quickReplies_.add(s); break; @@ -8530,7 +9041,7 @@ private QuickReplies( throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000002) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { quickReplies_ = quickReplies_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -8553,7 +9064,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.dialogflow.v2.Intent.Message.QuickReplies.Builder.class); } - private int bitField0_; public static final int TITLE_FIELD_NUMBER = 1; private volatile java.lang.Object title_; /** @@ -8564,6 +9074,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string title = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The title. */ public java.lang.String getTitle() { java.lang.Object ref = title_; @@ -8584,6 +9096,8 @@ public java.lang.String getTitle() { * * * string title = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for title. */ public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; @@ -8607,6 +9121,8 @@ public com.google.protobuf.ByteString getTitleBytes() { * * * repeated string quick_replies = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the quickReplies. */ public com.google.protobuf.ProtocolStringList getQuickRepliesList() { return quickReplies_; @@ -8619,6 +9135,8 @@ public com.google.protobuf.ProtocolStringList getQuickRepliesList() { * * * repeated string quick_replies = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of quickReplies. */ public int getQuickRepliesCount() { return quickReplies_.size(); @@ -8631,6 +9149,9 @@ public int getQuickRepliesCount() { * * * repeated string quick_replies = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The quickReplies at the given index. */ public java.lang.String getQuickReplies(int index) { return quickReplies_.get(index); @@ -8643,6 +9164,9 @@ public java.lang.String getQuickReplies(int index) { * * * repeated string quick_replies = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the quickReplies at the given index. */ public com.google.protobuf.ByteString getQuickRepliesBytes(int index) { return quickReplies_.getByteString(index); @@ -8874,7 +9398,7 @@ public Builder clear() { title_ = ""; quickReplies_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); return this; } @@ -8904,14 +9428,12 @@ public com.google.cloud.dialogflow.v2.Intent.Message.QuickReplies buildPartial() com.google.cloud.dialogflow.v2.Intent.Message.QuickReplies result = new com.google.cloud.dialogflow.v2.Intent.Message.QuickReplies(this); int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; result.title_ = title_; - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { quickReplies_ = quickReplies_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } result.quickReplies_ = quickReplies_; - result.bitField0_ = to_bitField0_; onBuilt(); return result; } @@ -8972,7 +9494,7 @@ public Builder mergeFrom(com.google.cloud.dialogflow.v2.Intent.Message.QuickRepl if (!other.quickReplies_.isEmpty()) { if (quickReplies_.isEmpty()) { quickReplies_ = other.quickReplies_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); } else { ensureQuickRepliesIsMutable(); quickReplies_.addAll(other.quickReplies_); @@ -9021,6 +9543,8 @@ public Builder mergeFrom( * * * string title = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The title. */ public java.lang.String getTitle() { java.lang.Object ref = title_; @@ -9041,6 +9565,8 @@ public java.lang.String getTitle() { * * * string title = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for title. */ public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; @@ -9061,6 +9587,9 @@ public com.google.protobuf.ByteString getTitleBytes() { * * * string title = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The title to set. + * @return This builder for chaining. */ public Builder setTitle(java.lang.String value) { if (value == null) { @@ -9079,6 +9608,8 @@ public Builder setTitle(java.lang.String value) { * * * string title = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearTitle() { @@ -9094,6 +9625,9 @@ public Builder clearTitle() { * * * string title = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for title to set. + * @return This builder for chaining. */ public Builder setTitleBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -9110,9 +9644,9 @@ public Builder setTitleBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureQuickRepliesIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!((bitField0_ & 0x00000001) != 0)) { quickReplies_ = new com.google.protobuf.LazyStringArrayList(quickReplies_); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000001; } } /** @@ -9123,6 +9657,8 @@ private void ensureQuickRepliesIsMutable() { * * * repeated string quick_replies = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return A list containing the quickReplies. */ public com.google.protobuf.ProtocolStringList getQuickRepliesList() { return quickReplies_.getUnmodifiableView(); @@ -9135,6 +9671,8 @@ public com.google.protobuf.ProtocolStringList getQuickRepliesList() { * * * repeated string quick_replies = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The count of quickReplies. */ public int getQuickRepliesCount() { return quickReplies_.size(); @@ -9147,6 +9685,9 @@ public int getQuickRepliesCount() { * * * repeated string quick_replies = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the element to return. + * @return The quickReplies at the given index. */ public java.lang.String getQuickReplies(int index) { return quickReplies_.get(index); @@ -9159,6 +9700,9 @@ public java.lang.String getQuickReplies(int index) { * * * repeated string quick_replies = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index of the value to return. + * @return The bytes of the quickReplies at the given index. */ public com.google.protobuf.ByteString getQuickRepliesBytes(int index) { return quickReplies_.getByteString(index); @@ -9171,6 +9715,10 @@ public com.google.protobuf.ByteString getQuickRepliesBytes(int index) { * * * repeated string quick_replies = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param index The index to set the value at. + * @param value The quickReplies to set. + * @return This builder for chaining. */ public Builder setQuickReplies(int index, java.lang.String value) { if (value == null) { @@ -9189,6 +9737,9 @@ public Builder setQuickReplies(int index, java.lang.String value) { * * * repeated string quick_replies = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The quickReplies to add. + * @return This builder for chaining. */ public Builder addQuickReplies(java.lang.String value) { if (value == null) { @@ -9207,6 +9758,9 @@ public Builder addQuickReplies(java.lang.String value) { * * * repeated string quick_replies = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param values The quickReplies to add. + * @return This builder for chaining. */ public Builder addAllQuickReplies(java.lang.Iterable values) { ensureQuickRepliesIsMutable(); @@ -9222,10 +9776,12 @@ public Builder addAllQuickReplies(java.lang.Iterable values) { * * * repeated string quick_replies = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearQuickReplies() { quickReplies_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -9237,6 +9793,9 @@ public Builder clearQuickReplies() { * * * repeated string quick_replies = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes of the quickReplies to add. + * @return This builder for chaining. */ public Builder addQuickRepliesBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -9317,6 +9876,8 @@ public interface CardOrBuilder * * * string title = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The title. */ java.lang.String getTitle(); /** @@ -9327,6 +9888,8 @@ public interface CardOrBuilder * * * string title = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for title. */ com.google.protobuf.ByteString getTitleBytes(); @@ -9338,6 +9901,8 @@ public interface CardOrBuilder * * * string subtitle = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The subtitle. */ java.lang.String getSubtitle(); /** @@ -9348,6 +9913,8 @@ public interface CardOrBuilder * * * string subtitle = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for subtitle. */ com.google.protobuf.ByteString getSubtitleBytes(); @@ -9359,6 +9926,8 @@ public interface CardOrBuilder * * * string image_uri = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The imageUri. */ java.lang.String getImageUri(); /** @@ -9369,6 +9938,8 @@ public interface CardOrBuilder * * * string image_uri = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for imageUri. */ com.google.protobuf.ByteString getImageUriBytes(); @@ -9461,6 +10032,12 @@ private Card() { buttons_ = java.util.Collections.emptyList(); } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Card(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -9508,11 +10085,11 @@ private Card( } case 34: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { buttons_ = new java.util.ArrayList< com.google.cloud.dialogflow.v2.Intent.Message.Card.Button>(); - mutable_bitField0_ |= 0x00000008; + mutable_bitField0_ |= 0x00000001; } buttons_.add( input.readMessage( @@ -9535,7 +10112,7 @@ private Card( throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000008) != 0)) { + if (((mutable_bitField0_ & 0x00000001) != 0)) { buttons_ = java.util.Collections.unmodifiableList(buttons_); } this.unknownFields = unknownFields.build(); @@ -9571,6 +10148,8 @@ public interface ButtonOrBuilder * * * string text = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The text. */ java.lang.String getText(); /** @@ -9581,6 +10160,8 @@ public interface ButtonOrBuilder * * * string text = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for text. */ com.google.protobuf.ByteString getTextBytes(); @@ -9593,6 +10174,8 @@ public interface ButtonOrBuilder * * * string postback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The postback. */ java.lang.String getPostback(); /** @@ -9604,6 +10187,8 @@ public interface ButtonOrBuilder * * * string postback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for postback. */ com.google.protobuf.ByteString getPostbackBytes(); } @@ -9631,6 +10216,12 @@ private Button() { postback_ = ""; } + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new Button(); + } + @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; @@ -9644,7 +10235,6 @@ private Button( if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } - int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { @@ -9714,6 +10304,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * * string text = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The text. */ public java.lang.String getText() { java.lang.Object ref = text_; @@ -9734,6 +10326,8 @@ public java.lang.String getText() { * * * string text = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for text. */ public com.google.protobuf.ByteString getTextBytes() { java.lang.Object ref = text_; @@ -9758,6 +10352,8 @@ public com.google.protobuf.ByteString getTextBytes() { * * * string postback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The postback. */ public java.lang.String getPostback() { java.lang.Object ref = postback_; @@ -9779,6 +10375,8 @@ public java.lang.String getPostback() { * * * string postback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for postback. */ public com.google.protobuf.ByteString getPostbackBytes() { java.lang.Object ref = postback_; @@ -10146,6 +10744,8 @@ public Builder mergeFrom( * * * string text = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The text. */ public java.lang.String getText() { java.lang.Object ref = text_; @@ -10166,6 +10766,8 @@ public java.lang.String getText() { * * * string text = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for text. */ public com.google.protobuf.ByteString getTextBytes() { java.lang.Object ref = text_; @@ -10186,6 +10788,9 @@ public com.google.protobuf.ByteString getTextBytes() { * * * string text = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The text to set. + * @return This builder for chaining. */ public Builder setText(java.lang.String value) { if (value == null) { @@ -10204,6 +10809,8 @@ public Builder setText(java.lang.String value) { * * * string text = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearText() { @@ -10219,6 +10826,9 @@ public Builder clearText() { * * * string text = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for text to set. + * @return This builder for chaining. */ public Builder setTextBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -10241,6 +10851,8 @@ public Builder setTextBytes(com.google.protobuf.ByteString value) { * * * string postback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The postback. */ public java.lang.String getPostback() { java.lang.Object ref = postback_; @@ -10262,6 +10874,8 @@ public java.lang.String getPostback() { * * * string postback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for postback. */ public com.google.protobuf.ByteString getPostbackBytes() { java.lang.Object ref = postback_; @@ -10283,6 +10897,9 @@ public com.google.protobuf.ByteString getPostbackBytes() { * * * string postback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The postback to set. + * @return This builder for chaining. */ public Builder setPostback(java.lang.String value) { if (value == null) { @@ -10302,6 +10919,8 @@ public Builder setPostback(java.lang.String value) { * * * string postback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. */ public Builder clearPostback() { @@ -10318,6 +10937,9 @@ public Builder clearPostback() { * * * string postback = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for postback to set. + * @return This builder for chaining. */ public Builder setPostbackBytes(com.google.protobuf.ByteString value) { if (value == null) { @@ -10385,7 +11007,6 @@ public com.google.protobuf.Parser