Class UpdatePhraseSetRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UpdatePhraseSetRequest.Builder>
      • clear

        public UpdatePhraseSetRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<UpdatePhraseSetRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UpdatePhraseSetRequest.Builder>
      • getDefaultInstanceForType

        public UpdatePhraseSetRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public UpdatePhraseSetRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public UpdatePhraseSetRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public UpdatePhraseSetRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<UpdatePhraseSetRequest.Builder>
      • clearField

        public UpdatePhraseSetRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdatePhraseSetRequest.Builder>
      • clearOneof

        public UpdatePhraseSetRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpdatePhraseSetRequest.Builder>
      • setRepeatedField

        public UpdatePhraseSetRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               int index,
                                                               Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdatePhraseSetRequest.Builder>
      • addRepeatedField

        public UpdatePhraseSetRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdatePhraseSetRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UpdatePhraseSetRequest.Builder>
      • mergeFrom

        public UpdatePhraseSetRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdatePhraseSetRequest.Builder>
        Throws:
        IOException
      • hasPhraseSet

        public boolean hasPhraseSet()
         Required. The phrase set to update.
        
         The phrase set's `name` field is used to identify the set to be
         updated. Format:
        
         `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
        
         Speech-to-Text supports three locations: `global`, `us` (US North America),
         and `eu` (Europe). If you are calling the `speech.googleapis.com`
         endpoint, use the `global` location. To specify a region, use a
         [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
         with matching `us` or `eu` location value.
         
        .google.cloud.speech.v1.PhraseSet phrase_set = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasPhraseSet in interface UpdatePhraseSetRequestOrBuilder
        Returns:
        Whether the phraseSet field is set.
      • getPhraseSet

        public PhraseSet getPhraseSet()
         Required. The phrase set to update.
        
         The phrase set's `name` field is used to identify the set to be
         updated. Format:
        
         `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
        
         Speech-to-Text supports three locations: `global`, `us` (US North America),
         and `eu` (Europe). If you are calling the `speech.googleapis.com`
         endpoint, use the `global` location. To specify a region, use a
         [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
         with matching `us` or `eu` location value.
         
        .google.cloud.speech.v1.PhraseSet phrase_set = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getPhraseSet in interface UpdatePhraseSetRequestOrBuilder
        Returns:
        The phraseSet.
      • setPhraseSet

        public UpdatePhraseSetRequest.Builder setPhraseSet​(PhraseSet value)
         Required. The phrase set to update.
        
         The phrase set's `name` field is used to identify the set to be
         updated. Format:
        
         `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
        
         Speech-to-Text supports three locations: `global`, `us` (US North America),
         and `eu` (Europe). If you are calling the `speech.googleapis.com`
         endpoint, use the `global` location. To specify a region, use a
         [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
         with matching `us` or `eu` location value.
         
        .google.cloud.speech.v1.PhraseSet phrase_set = 1 [(.google.api.field_behavior) = REQUIRED];
      • setPhraseSet

        public UpdatePhraseSetRequest.Builder setPhraseSet​(PhraseSet.Builder builderForValue)
         Required. The phrase set to update.
        
         The phrase set's `name` field is used to identify the set to be
         updated. Format:
        
         `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
        
         Speech-to-Text supports three locations: `global`, `us` (US North America),
         and `eu` (Europe). If you are calling the `speech.googleapis.com`
         endpoint, use the `global` location. To specify a region, use a
         [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
         with matching `us` or `eu` location value.
         
        .google.cloud.speech.v1.PhraseSet phrase_set = 1 [(.google.api.field_behavior) = REQUIRED];
      • mergePhraseSet

        public UpdatePhraseSetRequest.Builder mergePhraseSet​(PhraseSet value)
         Required. The phrase set to update.
        
         The phrase set's `name` field is used to identify the set to be
         updated. Format:
        
         `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
        
         Speech-to-Text supports three locations: `global`, `us` (US North America),
         and `eu` (Europe). If you are calling the `speech.googleapis.com`
         endpoint, use the `global` location. To specify a region, use a
         [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
         with matching `us` or `eu` location value.
         
        .google.cloud.speech.v1.PhraseSet phrase_set = 1 [(.google.api.field_behavior) = REQUIRED];
      • clearPhraseSet

        public UpdatePhraseSetRequest.Builder clearPhraseSet()
         Required. The phrase set to update.
        
         The phrase set's `name` field is used to identify the set to be
         updated. Format:
        
         `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
        
         Speech-to-Text supports three locations: `global`, `us` (US North America),
         and `eu` (Europe). If you are calling the `speech.googleapis.com`
         endpoint, use the `global` location. To specify a region, use a
         [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
         with matching `us` or `eu` location value.
         
        .google.cloud.speech.v1.PhraseSet phrase_set = 1 [(.google.api.field_behavior) = REQUIRED];
      • getPhraseSetBuilder

        public PhraseSet.Builder getPhraseSetBuilder()
         Required. The phrase set to update.
        
         The phrase set's `name` field is used to identify the set to be
         updated. Format:
        
         `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
        
         Speech-to-Text supports three locations: `global`, `us` (US North America),
         and `eu` (Europe). If you are calling the `speech.googleapis.com`
         endpoint, use the `global` location. To specify a region, use a
         [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
         with matching `us` or `eu` location value.
         
        .google.cloud.speech.v1.PhraseSet phrase_set = 1 [(.google.api.field_behavior) = REQUIRED];
      • getPhraseSetOrBuilder

        public PhraseSetOrBuilder getPhraseSetOrBuilder()
         Required. The phrase set to update.
        
         The phrase set's `name` field is used to identify the set to be
         updated. Format:
        
         `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
        
         Speech-to-Text supports three locations: `global`, `us` (US North America),
         and `eu` (Europe). If you are calling the `speech.googleapis.com`
         endpoint, use the `global` location. To specify a region, use a
         [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
         with matching `us` or `eu` location value.
         
        .google.cloud.speech.v1.PhraseSet phrase_set = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getPhraseSetOrBuilder in interface UpdatePhraseSetRequestOrBuilder
      • hasUpdateMask

        public boolean hasUpdateMask()
         The list of fields to be updated.
         
        .google.protobuf.FieldMask update_mask = 2;
        Specified by:
        hasUpdateMask in interface UpdatePhraseSetRequestOrBuilder
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        public com.google.protobuf.FieldMask getUpdateMask()
         The list of fields to be updated.
         
        .google.protobuf.FieldMask update_mask = 2;
        Specified by:
        getUpdateMask in interface UpdatePhraseSetRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public UpdatePhraseSetRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         The list of fields to be updated.
         
        .google.protobuf.FieldMask update_mask = 2;
      • setUpdateMask

        public UpdatePhraseSetRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         The list of fields to be updated.
         
        .google.protobuf.FieldMask update_mask = 2;
      • mergeUpdateMask

        public UpdatePhraseSetRequest.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         The list of fields to be updated.
         
        .google.protobuf.FieldMask update_mask = 2;
      • clearUpdateMask

        public UpdatePhraseSetRequest.Builder clearUpdateMask()
         The list of fields to be updated.
         
        .google.protobuf.FieldMask update_mask = 2;
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         The list of fields to be updated.
         
        .google.protobuf.FieldMask update_mask = 2;
      • setUnknownFields

        public final UpdatePhraseSetRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdatePhraseSetRequest.Builder>
      • mergeUnknownFields

        public final UpdatePhraseSetRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdatePhraseSetRequest.Builder>