Class CreateFeatureGroupRequest.Builder

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

public static final class CreateFeatureGroupRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateFeatureGroupRequest.Builder> implements CreateFeatureGroupRequestOrBuilder
 Request message for
 [FeatureRegistryService.CreateFeatureGroup][google.cloud.aiplatform.v1.FeatureRegistryService.CreateFeatureGroup].
 
Protobuf type google.cloud.aiplatform.v1.CreateFeatureGroupRequest
  • 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<CreateFeatureGroupRequest.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<CreateFeatureGroupRequest.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<CreateFeatureGroupRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public String getParent()
       Required. The resource name of the Location to create FeatureGroups.
       Format:
       `projects/{project}/locations/{location}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateFeatureGroupRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The resource name of the Location to create FeatureGroups.
       Format:
       `projects/{project}/locations/{location}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateFeatureGroupRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public CreateFeatureGroupRequest.Builder setParent(String value)
       Required. The resource name of the Location to create FeatureGroups.
       Format:
       `projects/{project}/locations/{location}`
       
      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 CreateFeatureGroupRequest.Builder clearParent()
       Required. The resource name of the Location to create FeatureGroups.
       Format:
       `projects/{project}/locations/{location}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateFeatureGroupRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the Location to create FeatureGroups.
       Format:
       `projects/{project}/locations/{location}`
       
      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.
    • hasFeatureGroup

      public boolean hasFeatureGroup()
       Required. The FeatureGroup to create.
       
      .google.cloud.aiplatform.v1.FeatureGroup feature_group = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasFeatureGroup in interface CreateFeatureGroupRequestOrBuilder
      Returns:
      Whether the featureGroup field is set.
    • getFeatureGroup

      public FeatureGroup getFeatureGroup()
       Required. The FeatureGroup to create.
       
      .google.cloud.aiplatform.v1.FeatureGroup feature_group = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFeatureGroup in interface CreateFeatureGroupRequestOrBuilder
      Returns:
      The featureGroup.
    • setFeatureGroup

      public CreateFeatureGroupRequest.Builder setFeatureGroup(FeatureGroup value)
       Required. The FeatureGroup to create.
       
      .google.cloud.aiplatform.v1.FeatureGroup feature_group = 2 [(.google.api.field_behavior) = REQUIRED];
    • setFeatureGroup

      public CreateFeatureGroupRequest.Builder setFeatureGroup(FeatureGroup.Builder builderForValue)
       Required. The FeatureGroup to create.
       
      .google.cloud.aiplatform.v1.FeatureGroup feature_group = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeFeatureGroup

      public CreateFeatureGroupRequest.Builder mergeFeatureGroup(FeatureGroup value)
       Required. The FeatureGroup to create.
       
      .google.cloud.aiplatform.v1.FeatureGroup feature_group = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearFeatureGroup

      public CreateFeatureGroupRequest.Builder clearFeatureGroup()
       Required. The FeatureGroup to create.
       
      .google.cloud.aiplatform.v1.FeatureGroup feature_group = 2 [(.google.api.field_behavior) = REQUIRED];
    • getFeatureGroupBuilder

      public FeatureGroup.Builder getFeatureGroupBuilder()
       Required. The FeatureGroup to create.
       
      .google.cloud.aiplatform.v1.FeatureGroup feature_group = 2 [(.google.api.field_behavior) = REQUIRED];
    • getFeatureGroupOrBuilder

      public FeatureGroupOrBuilder getFeatureGroupOrBuilder()
       Required. The FeatureGroup to create.
       
      .google.cloud.aiplatform.v1.FeatureGroup feature_group = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFeatureGroupOrBuilder in interface CreateFeatureGroupRequestOrBuilder
    • getFeatureGroupId

      public String getFeatureGroupId()
       Required. The ID to use for this FeatureGroup, which will become the final
       component of the FeatureGroup's resource name.
      
       This value may be up to 128 characters, and valid characters are
       `[a-z0-9_]`. The first character cannot be a number.
      
       The value must be unique within the project and location.
       
      string feature_group_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFeatureGroupId in interface CreateFeatureGroupRequestOrBuilder
      Returns:
      The featureGroupId.
    • getFeatureGroupIdBytes

      public com.google.protobuf.ByteString getFeatureGroupIdBytes()
       Required. The ID to use for this FeatureGroup, which will become the final
       component of the FeatureGroup's resource name.
      
       This value may be up to 128 characters, and valid characters are
       `[a-z0-9_]`. The first character cannot be a number.
      
       The value must be unique within the project and location.
       
      string feature_group_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFeatureGroupIdBytes in interface CreateFeatureGroupRequestOrBuilder
      Returns:
      The bytes for featureGroupId.
    • setFeatureGroupId

      public CreateFeatureGroupRequest.Builder setFeatureGroupId(String value)
       Required. The ID to use for this FeatureGroup, which will become the final
       component of the FeatureGroup's resource name.
      
       This value may be up to 128 characters, and valid characters are
       `[a-z0-9_]`. The first character cannot be a number.
      
       The value must be unique within the project and location.
       
      string feature_group_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The featureGroupId to set.
      Returns:
      This builder for chaining.
    • clearFeatureGroupId

      public CreateFeatureGroupRequest.Builder clearFeatureGroupId()
       Required. The ID to use for this FeatureGroup, which will become the final
       component of the FeatureGroup's resource name.
      
       This value may be up to 128 characters, and valid characters are
       `[a-z0-9_]`. The first character cannot be a number.
      
       The value must be unique within the project and location.
       
      string feature_group_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setFeatureGroupIdBytes

      public CreateFeatureGroupRequest.Builder setFeatureGroupIdBytes(com.google.protobuf.ByteString value)
       Required. The ID to use for this FeatureGroup, which will become the final
       component of the FeatureGroup's resource name.
      
       This value may be up to 128 characters, and valid characters are
       `[a-z0-9_]`. The first character cannot be a number.
      
       The value must be unique within the project and location.
       
      string feature_group_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for featureGroupId to set.
      Returns:
      This builder for chaining.