Class UpdateGlossaryRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateGlossaryRequest.Builder>
com.google.cloud.dataplex.v1.UpdateGlossaryRequest.Builder
All Implemented Interfaces:
UpdateGlossaryRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdateGlossaryRequest

public static final class UpdateGlossaryRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateGlossaryRequest.Builder> implements UpdateGlossaryRequestOrBuilder
 Update Glossary Request
 
Protobuf type google.cloud.dataplex.v1.UpdateGlossaryRequest
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UpdateGlossaryRequest.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.GeneratedMessage.Builder<UpdateGlossaryRequest.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.GeneratedMessage.Builder<UpdateGlossaryRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public UpdateGlossaryRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateGlossaryRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public UpdateGlossaryRequest.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<UpdateGlossaryRequest.Builder>
      Throws:
      IOException
    • hasGlossary

      public boolean hasGlossary()
       Required. The Glossary to update.
       The Glossary's `name` field is used to identify the Glossary to update.
       Format:
       projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
       
      .google.cloud.dataplex.v1.Glossary glossary = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasGlossary in interface UpdateGlossaryRequestOrBuilder
      Returns:
      Whether the glossary field is set.
    • getGlossary

      public Glossary getGlossary()
       Required. The Glossary to update.
       The Glossary's `name` field is used to identify the Glossary to update.
       Format:
       projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
       
      .google.cloud.dataplex.v1.Glossary glossary = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getGlossary in interface UpdateGlossaryRequestOrBuilder
      Returns:
      The glossary.
    • setGlossary

      public UpdateGlossaryRequest.Builder setGlossary(Glossary value)
       Required. The Glossary to update.
       The Glossary's `name` field is used to identify the Glossary to update.
       Format:
       projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
       
      .google.cloud.dataplex.v1.Glossary glossary = 1 [(.google.api.field_behavior) = REQUIRED];
    • setGlossary

      public UpdateGlossaryRequest.Builder setGlossary(Glossary.Builder builderForValue)
       Required. The Glossary to update.
       The Glossary's `name` field is used to identify the Glossary to update.
       Format:
       projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
       
      .google.cloud.dataplex.v1.Glossary glossary = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeGlossary

      public UpdateGlossaryRequest.Builder mergeGlossary(Glossary value)
       Required. The Glossary to update.
       The Glossary's `name` field is used to identify the Glossary to update.
       Format:
       projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
       
      .google.cloud.dataplex.v1.Glossary glossary = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearGlossary

      public UpdateGlossaryRequest.Builder clearGlossary()
       Required. The Glossary to update.
       The Glossary's `name` field is used to identify the Glossary to update.
       Format:
       projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
       
      .google.cloud.dataplex.v1.Glossary glossary = 1 [(.google.api.field_behavior) = REQUIRED];
    • getGlossaryBuilder

      public Glossary.Builder getGlossaryBuilder()
       Required. The Glossary to update.
       The Glossary's `name` field is used to identify the Glossary to update.
       Format:
       projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
       
      .google.cloud.dataplex.v1.Glossary glossary = 1 [(.google.api.field_behavior) = REQUIRED];
    • getGlossaryOrBuilder

      public GlossaryOrBuilder getGlossaryOrBuilder()
       Required. The Glossary to update.
       The Glossary's `name` field is used to identify the Glossary to update.
       Format:
       projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}
       
      .google.cloud.dataplex.v1.Glossary glossary = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getGlossaryOrBuilder in interface UpdateGlossaryRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Required. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasUpdateMask in interface UpdateGlossaryRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Required. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMask in interface UpdateGlossaryRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateGlossaryRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Required. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • setUpdateMask

      public UpdateGlossaryRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Required. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeUpdateMask

      public UpdateGlossaryRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Required. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearUpdateMask

      public UpdateGlossaryRequest.Builder clearUpdateMask()
       Required. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Required. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Required. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateGlossaryRequestOrBuilder
    • getValidateOnly

      public boolean getValidateOnly()
       Optional. Validates the request without actually updating the Glossary.
       Default: false.
       
      bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getValidateOnly in interface UpdateGlossaryRequestOrBuilder
      Returns:
      The validateOnly.
    • setValidateOnly

      public UpdateGlossaryRequest.Builder setValidateOnly(boolean value)
       Optional. Validates the request without actually updating the Glossary.
       Default: false.
       
      bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The validateOnly to set.
      Returns:
      This builder for chaining.
    • clearValidateOnly

      public UpdateGlossaryRequest.Builder clearValidateOnly()
       Optional. Validates the request without actually updating the Glossary.
       Default: false.
       
      bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.