Class ReadFeatureValuesResponse.Header.Builder

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

public static final class ReadFeatureValuesResponse.Header.Builder extends com.google.protobuf.GeneratedMessage.Builder<ReadFeatureValuesResponse.Header.Builder> implements ReadFeatureValuesResponse.HeaderOrBuilder
 Response header with metadata for the requested
 [ReadFeatureValuesRequest.entity_type][google.cloud.aiplatform.v1.ReadFeatureValuesRequest.entity_type]
 and Features.
 
Protobuf type google.cloud.aiplatform.v1.ReadFeatureValuesResponse.Header
  • 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<ReadFeatureValuesResponse.Header.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<ReadFeatureValuesResponse.Header.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<ReadFeatureValuesResponse.Header.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public ReadFeatureValuesResponse.Header.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<ReadFeatureValuesResponse.Header.Builder>
      Throws:
      IOException
    • getEntityType

      public String getEntityType()
       The resource name of the EntityType from the
       [ReadFeatureValuesRequest][google.cloud.aiplatform.v1.ReadFeatureValuesRequest].
       Value format:
       `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`.
       
      string entity_type = 1 [(.google.api.resource_reference) = { ... }
      Specified by:
      getEntityType in interface ReadFeatureValuesResponse.HeaderOrBuilder
      Returns:
      The entityType.
    • getEntityTypeBytes

      public com.google.protobuf.ByteString getEntityTypeBytes()
       The resource name of the EntityType from the
       [ReadFeatureValuesRequest][google.cloud.aiplatform.v1.ReadFeatureValuesRequest].
       Value format:
       `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`.
       
      string entity_type = 1 [(.google.api.resource_reference) = { ... }
      Specified by:
      getEntityTypeBytes in interface ReadFeatureValuesResponse.HeaderOrBuilder
      Returns:
      The bytes for entityType.
    • setEntityType

      public ReadFeatureValuesResponse.Header.Builder setEntityType(String value)
       The resource name of the EntityType from the
       [ReadFeatureValuesRequest][google.cloud.aiplatform.v1.ReadFeatureValuesRequest].
       Value format:
       `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`.
       
      string entity_type = 1 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The entityType to set.
      Returns:
      This builder for chaining.
    • clearEntityType

      public ReadFeatureValuesResponse.Header.Builder clearEntityType()
       The resource name of the EntityType from the
       [ReadFeatureValuesRequest][google.cloud.aiplatform.v1.ReadFeatureValuesRequest].
       Value format:
       `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`.
       
      string entity_type = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setEntityTypeBytes

      public ReadFeatureValuesResponse.Header.Builder setEntityTypeBytes(com.google.protobuf.ByteString value)
       The resource name of the EntityType from the
       [ReadFeatureValuesRequest][google.cloud.aiplatform.v1.ReadFeatureValuesRequest].
       Value format:
       `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`.
       
      string entity_type = 1 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for entityType to set.
      Returns:
      This builder for chaining.
    • getFeatureDescriptorsList

      public List<ReadFeatureValuesResponse.FeatureDescriptor> getFeatureDescriptorsList()
       List of Feature metadata corresponding to each piece of
       [ReadFeatureValuesResponse.EntityView.data][google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView.data].
       
      repeated .google.cloud.aiplatform.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;
      Specified by:
      getFeatureDescriptorsList in interface ReadFeatureValuesResponse.HeaderOrBuilder
    • getFeatureDescriptorsCount

      public int getFeatureDescriptorsCount()
       List of Feature metadata corresponding to each piece of
       [ReadFeatureValuesResponse.EntityView.data][google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView.data].
       
      repeated .google.cloud.aiplatform.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;
      Specified by:
      getFeatureDescriptorsCount in interface ReadFeatureValuesResponse.HeaderOrBuilder
    • getFeatureDescriptors

      public ReadFeatureValuesResponse.FeatureDescriptor getFeatureDescriptors(int index)
       List of Feature metadata corresponding to each piece of
       [ReadFeatureValuesResponse.EntityView.data][google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView.data].
       
      repeated .google.cloud.aiplatform.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;
      Specified by:
      getFeatureDescriptors in interface ReadFeatureValuesResponse.HeaderOrBuilder
    • setFeatureDescriptors

       List of Feature metadata corresponding to each piece of
       [ReadFeatureValuesResponse.EntityView.data][google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView.data].
       
      repeated .google.cloud.aiplatform.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;
    • setFeatureDescriptors

      public ReadFeatureValuesResponse.Header.Builder setFeatureDescriptors(int index, ReadFeatureValuesResponse.FeatureDescriptor.Builder builderForValue)
       List of Feature metadata corresponding to each piece of
       [ReadFeatureValuesResponse.EntityView.data][google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView.data].
       
      repeated .google.cloud.aiplatform.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;
    • addFeatureDescriptors

       List of Feature metadata corresponding to each piece of
       [ReadFeatureValuesResponse.EntityView.data][google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView.data].
       
      repeated .google.cloud.aiplatform.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;
    • addFeatureDescriptors

       List of Feature metadata corresponding to each piece of
       [ReadFeatureValuesResponse.EntityView.data][google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView.data].
       
      repeated .google.cloud.aiplatform.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;
    • addFeatureDescriptors

       List of Feature metadata corresponding to each piece of
       [ReadFeatureValuesResponse.EntityView.data][google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView.data].
       
      repeated .google.cloud.aiplatform.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;
    • addFeatureDescriptors

      public ReadFeatureValuesResponse.Header.Builder addFeatureDescriptors(int index, ReadFeatureValuesResponse.FeatureDescriptor.Builder builderForValue)
       List of Feature metadata corresponding to each piece of
       [ReadFeatureValuesResponse.EntityView.data][google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView.data].
       
      repeated .google.cloud.aiplatform.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;
    • addAllFeatureDescriptors

       List of Feature metadata corresponding to each piece of
       [ReadFeatureValuesResponse.EntityView.data][google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView.data].
       
      repeated .google.cloud.aiplatform.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;
    • clearFeatureDescriptors

      public ReadFeatureValuesResponse.Header.Builder clearFeatureDescriptors()
       List of Feature metadata corresponding to each piece of
       [ReadFeatureValuesResponse.EntityView.data][google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView.data].
       
      repeated .google.cloud.aiplatform.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;
    • removeFeatureDescriptors

      public ReadFeatureValuesResponse.Header.Builder removeFeatureDescriptors(int index)
       List of Feature metadata corresponding to each piece of
       [ReadFeatureValuesResponse.EntityView.data][google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView.data].
       
      repeated .google.cloud.aiplatform.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;
    • getFeatureDescriptorsBuilder

      public ReadFeatureValuesResponse.FeatureDescriptor.Builder getFeatureDescriptorsBuilder(int index)
       List of Feature metadata corresponding to each piece of
       [ReadFeatureValuesResponse.EntityView.data][google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView.data].
       
      repeated .google.cloud.aiplatform.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;
    • getFeatureDescriptorsOrBuilder

      public ReadFeatureValuesResponse.FeatureDescriptorOrBuilder getFeatureDescriptorsOrBuilder(int index)
       List of Feature metadata corresponding to each piece of
       [ReadFeatureValuesResponse.EntityView.data][google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView.data].
       
      repeated .google.cloud.aiplatform.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;
      Specified by:
      getFeatureDescriptorsOrBuilder in interface ReadFeatureValuesResponse.HeaderOrBuilder
    • getFeatureDescriptorsOrBuilderList

      public List<? extends ReadFeatureValuesResponse.FeatureDescriptorOrBuilder> getFeatureDescriptorsOrBuilderList()
       List of Feature metadata corresponding to each piece of
       [ReadFeatureValuesResponse.EntityView.data][google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView.data].
       
      repeated .google.cloud.aiplatform.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;
      Specified by:
      getFeatureDescriptorsOrBuilderList in interface ReadFeatureValuesResponse.HeaderOrBuilder
    • addFeatureDescriptorsBuilder

      public ReadFeatureValuesResponse.FeatureDescriptor.Builder addFeatureDescriptorsBuilder()
       List of Feature metadata corresponding to each piece of
       [ReadFeatureValuesResponse.EntityView.data][google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView.data].
       
      repeated .google.cloud.aiplatform.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;
    • addFeatureDescriptorsBuilder

      public ReadFeatureValuesResponse.FeatureDescriptor.Builder addFeatureDescriptorsBuilder(int index)
       List of Feature metadata corresponding to each piece of
       [ReadFeatureValuesResponse.EntityView.data][google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView.data].
       
      repeated .google.cloud.aiplatform.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;
    • getFeatureDescriptorsBuilderList

      public List<ReadFeatureValuesResponse.FeatureDescriptor.Builder> getFeatureDescriptorsBuilderList()
       List of Feature metadata corresponding to each piece of
       [ReadFeatureValuesResponse.EntityView.data][google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView.data].
       
      repeated .google.cloud.aiplatform.v1.ReadFeatureValuesResponse.FeatureDescriptor feature_descriptors = 2;