Class UrlContextMetadata.Builder

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

public static final class UrlContextMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<UrlContextMetadata.Builder> implements UrlContextMetadataOrBuilder
 Metadata related to url context retrieval tool.
 
Protobuf type google.cloud.aiplatform.v1.UrlContextMetadata
  • 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<UrlContextMetadata.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<UrlContextMetadata.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<UrlContextMetadata.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public UrlContextMetadata.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<UrlContextMetadata.Builder>
      Throws:
      IOException
    • getUrlMetadataList

      public List<UrlMetadata> getUrlMetadataList()
       Output only. List of url context.
       
      repeated .google.cloud.aiplatform.v1.UrlMetadata url_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUrlMetadataList in interface UrlContextMetadataOrBuilder
    • getUrlMetadataCount

      public int getUrlMetadataCount()
       Output only. List of url context.
       
      repeated .google.cloud.aiplatform.v1.UrlMetadata url_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUrlMetadataCount in interface UrlContextMetadataOrBuilder
    • getUrlMetadata

      public UrlMetadata getUrlMetadata(int index)
       Output only. List of url context.
       
      repeated .google.cloud.aiplatform.v1.UrlMetadata url_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUrlMetadata in interface UrlContextMetadataOrBuilder
    • setUrlMetadata

      public UrlContextMetadata.Builder setUrlMetadata(int index, UrlMetadata value)
       Output only. List of url context.
       
      repeated .google.cloud.aiplatform.v1.UrlMetadata url_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUrlMetadata

      public UrlContextMetadata.Builder setUrlMetadata(int index, UrlMetadata.Builder builderForValue)
       Output only. List of url context.
       
      repeated .google.cloud.aiplatform.v1.UrlMetadata url_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addUrlMetadata

      public UrlContextMetadata.Builder addUrlMetadata(UrlMetadata value)
       Output only. List of url context.
       
      repeated .google.cloud.aiplatform.v1.UrlMetadata url_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addUrlMetadata

      public UrlContextMetadata.Builder addUrlMetadata(int index, UrlMetadata value)
       Output only. List of url context.
       
      repeated .google.cloud.aiplatform.v1.UrlMetadata url_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addUrlMetadata

      public UrlContextMetadata.Builder addUrlMetadata(UrlMetadata.Builder builderForValue)
       Output only. List of url context.
       
      repeated .google.cloud.aiplatform.v1.UrlMetadata url_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addUrlMetadata

      public UrlContextMetadata.Builder addUrlMetadata(int index, UrlMetadata.Builder builderForValue)
       Output only. List of url context.
       
      repeated .google.cloud.aiplatform.v1.UrlMetadata url_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllUrlMetadata

      public UrlContextMetadata.Builder addAllUrlMetadata(Iterable<? extends UrlMetadata> values)
       Output only. List of url context.
       
      repeated .google.cloud.aiplatform.v1.UrlMetadata url_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUrlMetadata

      public UrlContextMetadata.Builder clearUrlMetadata()
       Output only. List of url context.
       
      repeated .google.cloud.aiplatform.v1.UrlMetadata url_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeUrlMetadata

      public UrlContextMetadata.Builder removeUrlMetadata(int index)
       Output only. List of url context.
       
      repeated .google.cloud.aiplatform.v1.UrlMetadata url_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUrlMetadataBuilder

      public UrlMetadata.Builder getUrlMetadataBuilder(int index)
       Output only. List of url context.
       
      repeated .google.cloud.aiplatform.v1.UrlMetadata url_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUrlMetadataOrBuilder

      public UrlMetadataOrBuilder getUrlMetadataOrBuilder(int index)
       Output only. List of url context.
       
      repeated .google.cloud.aiplatform.v1.UrlMetadata url_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUrlMetadataOrBuilder in interface UrlContextMetadataOrBuilder
    • getUrlMetadataOrBuilderList

      public List<? extends UrlMetadataOrBuilder> getUrlMetadataOrBuilderList()
       Output only. List of url context.
       
      repeated .google.cloud.aiplatform.v1.UrlMetadata url_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUrlMetadataOrBuilderList in interface UrlContextMetadataOrBuilder
    • addUrlMetadataBuilder

      public UrlMetadata.Builder addUrlMetadataBuilder()
       Output only. List of url context.
       
      repeated .google.cloud.aiplatform.v1.UrlMetadata url_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addUrlMetadataBuilder

      public UrlMetadata.Builder addUrlMetadataBuilder(int index)
       Output only. List of url context.
       
      repeated .google.cloud.aiplatform.v1.UrlMetadata url_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUrlMetadataBuilderList

      public List<UrlMetadata.Builder> getUrlMetadataBuilderList()
       Output only. List of url context.
       
      repeated .google.cloud.aiplatform.v1.UrlMetadata url_metadata = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];