Class CreateAspectTypeRequest.Builder

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

public static final class CreateAspectTypeRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateAspectTypeRequest.Builder> implements CreateAspectTypeRequestOrBuilder
 Create AspectType Request.
 
Protobuf type google.cloud.dataplex.v1.CreateAspectTypeRequest
  • 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<CreateAspectTypeRequest.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<CreateAspectTypeRequest.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<CreateAspectTypeRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public CreateAspectTypeRequest.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<CreateAspectTypeRequest.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<CreateAspectTypeRequest.Builder>
    • mergeFrom

      public CreateAspectTypeRequest.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<CreateAspectTypeRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. The resource name of the AspectType, of the form:
       projects/{project_number}/locations/{location_id}
       where `location_id` refers to a Google Cloud region.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateAspectTypeRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The resource name of the AspectType, of the form:
       projects/{project_number}/locations/{location_id}
       where `location_id` refers to a Google Cloud region.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateAspectTypeRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public CreateAspectTypeRequest.Builder setParent(String value)
       Required. The resource name of the AspectType, of the form:
       projects/{project_number}/locations/{location_id}
       where `location_id` refers to a Google Cloud region.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public CreateAspectTypeRequest.Builder clearParent()
       Required. The resource name of the AspectType, of the form:
       projects/{project_number}/locations/{location_id}
       where `location_id` refers to a Google Cloud region.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateAspectTypeRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the AspectType, of the form:
       projects/{project_number}/locations/{location_id}
       where `location_id` refers to a Google Cloud region.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getAspectTypeId

      public String getAspectTypeId()
       Required. AspectType identifier.
       
      string aspect_type_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAspectTypeId in interface CreateAspectTypeRequestOrBuilder
      Returns:
      The aspectTypeId.
    • getAspectTypeIdBytes

      public com.google.protobuf.ByteString getAspectTypeIdBytes()
       Required. AspectType identifier.
       
      string aspect_type_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAspectTypeIdBytes in interface CreateAspectTypeRequestOrBuilder
      Returns:
      The bytes for aspectTypeId.
    • setAspectTypeId

      public CreateAspectTypeRequest.Builder setAspectTypeId(String value)
       Required. AspectType identifier.
       
      string aspect_type_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The aspectTypeId to set.
      Returns:
      This builder for chaining.
    • clearAspectTypeId

      public CreateAspectTypeRequest.Builder clearAspectTypeId()
       Required. AspectType identifier.
       
      string aspect_type_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setAspectTypeIdBytes

      public CreateAspectTypeRequest.Builder setAspectTypeIdBytes(com.google.protobuf.ByteString value)
       Required. AspectType identifier.
       
      string aspect_type_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for aspectTypeId to set.
      Returns:
      This builder for chaining.
    • hasAspectType

      public boolean hasAspectType()
       Required. AspectType Resource.
       
      .google.cloud.dataplex.v1.AspectType aspect_type = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasAspectType in interface CreateAspectTypeRequestOrBuilder
      Returns:
      Whether the aspectType field is set.
    • getAspectType

      public AspectType getAspectType()
       Required. AspectType Resource.
       
      .google.cloud.dataplex.v1.AspectType aspect_type = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAspectType in interface CreateAspectTypeRequestOrBuilder
      Returns:
      The aspectType.
    • setAspectType

      public CreateAspectTypeRequest.Builder setAspectType(AspectType value)
       Required. AspectType Resource.
       
      .google.cloud.dataplex.v1.AspectType aspect_type = 3 [(.google.api.field_behavior) = REQUIRED];
    • setAspectType

      public CreateAspectTypeRequest.Builder setAspectType(AspectType.Builder builderForValue)
       Required. AspectType Resource.
       
      .google.cloud.dataplex.v1.AspectType aspect_type = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeAspectType

      public CreateAspectTypeRequest.Builder mergeAspectType(AspectType value)
       Required. AspectType Resource.
       
      .google.cloud.dataplex.v1.AspectType aspect_type = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearAspectType

      public CreateAspectTypeRequest.Builder clearAspectType()
       Required. AspectType Resource.
       
      .google.cloud.dataplex.v1.AspectType aspect_type = 3 [(.google.api.field_behavior) = REQUIRED];
    • getAspectTypeBuilder

      public AspectType.Builder getAspectTypeBuilder()
       Required. AspectType Resource.
       
      .google.cloud.dataplex.v1.AspectType aspect_type = 3 [(.google.api.field_behavior) = REQUIRED];
    • getAspectTypeOrBuilder

      public AspectTypeOrBuilder getAspectTypeOrBuilder()
       Required. AspectType Resource.
       
      .google.cloud.dataplex.v1.AspectType aspect_type = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAspectTypeOrBuilder in interface CreateAspectTypeRequestOrBuilder
    • getValidateOnly

      public boolean getValidateOnly()
       Optional. The service validates the request without performing any
       mutations. The default is false.
       
      bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getValidateOnly in interface CreateAspectTypeRequestOrBuilder
      Returns:
      The validateOnly.
    • setValidateOnly

      public CreateAspectTypeRequest.Builder setValidateOnly(boolean value)
       Optional. The service validates the request without performing any
       mutations. The default is false.
       
      bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The validateOnly to set.
      Returns:
      This builder for chaining.
    • clearValidateOnly

      public CreateAspectTypeRequest.Builder clearValidateOnly()
       Optional. The service validates the request without performing any
       mutations. The default is false.
       
      bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.