Class ExplanationMetadataOverride.Builder

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

public static final class ExplanationMetadataOverride.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExplanationMetadataOverride.Builder> implements ExplanationMetadataOverrideOrBuilder
 The [ExplanationMetadata][google.cloud.aiplatform.v1.ExplanationMetadata]
 entries that can be overridden at [online
 explanation][google.cloud.aiplatform.v1.PredictionService.Explain] time.
 
Protobuf type google.cloud.aiplatform.v1.ExplanationMetadataOverride
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<ExplanationMetadataOverride.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<ExplanationMetadataOverride.Builder>
    • internalGetFieldAccessorTable

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

      public ExplanationMetadataOverride 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 ExplanationMetadataOverride buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public ExplanationMetadataOverride.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<ExplanationMetadataOverride.Builder>
      Throws:
      IOException
    • getInputsCount

      public int getInputsCount()
      Description copied from interface: ExplanationMetadataOverrideOrBuilder
       Required. Overrides the [input
       metadata][google.cloud.aiplatform.v1.ExplanationMetadata.inputs] of the
       features. The key is the name of the feature to be overridden. The keys
       specified here must exist in the input metadata to be overridden. If a
       feature is not specified here, the corresponding feature's input metadata
       is not overridden.
       
      map<string, .google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride> inputs = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInputsCount in interface ExplanationMetadataOverrideOrBuilder
    • containsInputs

      public boolean containsInputs(String key)
       Required. Overrides the [input
       metadata][google.cloud.aiplatform.v1.ExplanationMetadata.inputs] of the
       features. The key is the name of the feature to be overridden. The keys
       specified here must exist in the input metadata to be overridden. If a
       feature is not specified here, the corresponding feature's input metadata
       is not overridden.
       
      map<string, .google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride> inputs = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      containsInputs in interface ExplanationMetadataOverrideOrBuilder
    • getInputs

      Deprecated.
      Use getInputsMap() instead.
      Specified by:
      getInputs in interface ExplanationMetadataOverrideOrBuilder
    • getInputsMap

       Required. Overrides the [input
       metadata][google.cloud.aiplatform.v1.ExplanationMetadata.inputs] of the
       features. The key is the name of the feature to be overridden. The keys
       specified here must exist in the input metadata to be overridden. If a
       feature is not specified here, the corresponding feature's input metadata
       is not overridden.
       
      map<string, .google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride> inputs = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInputsMap in interface ExplanationMetadataOverrideOrBuilder
    • getInputsOrDefault

       Required. Overrides the [input
       metadata][google.cloud.aiplatform.v1.ExplanationMetadata.inputs] of the
       features. The key is the name of the feature to be overridden. The keys
       specified here must exist in the input metadata to be overridden. If a
       feature is not specified here, the corresponding feature's input metadata
       is not overridden.
       
      map<string, .google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride> inputs = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInputsOrDefault in interface ExplanationMetadataOverrideOrBuilder
    • getInputsOrThrow

       Required. Overrides the [input
       metadata][google.cloud.aiplatform.v1.ExplanationMetadata.inputs] of the
       features. The key is the name of the feature to be overridden. The keys
       specified here must exist in the input metadata to be overridden. If a
       feature is not specified here, the corresponding feature's input metadata
       is not overridden.
       
      map<string, .google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride> inputs = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInputsOrThrow in interface ExplanationMetadataOverrideOrBuilder
    • clearInputs

    • removeInputs

      public ExplanationMetadataOverride.Builder removeInputs(String key)
       Required. Overrides the [input
       metadata][google.cloud.aiplatform.v1.ExplanationMetadata.inputs] of the
       features. The key is the name of the feature to be overridden. The keys
       specified here must exist in the input metadata to be overridden. If a
       feature is not specified here, the corresponding feature's input metadata
       is not overridden.
       
      map<string, .google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride> inputs = 1 [(.google.api.field_behavior) = REQUIRED];
    • getMutableInputs

      Deprecated.
      Use alternate mutation accessors instead.
    • putInputs

       Required. Overrides the [input
       metadata][google.cloud.aiplatform.v1.ExplanationMetadata.inputs] of the
       features. The key is the name of the feature to be overridden. The keys
       specified here must exist in the input metadata to be overridden. If a
       feature is not specified here, the corresponding feature's input metadata
       is not overridden.
       
      map<string, .google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride> inputs = 1 [(.google.api.field_behavior) = REQUIRED];
    • putAllInputs

       Required. Overrides the [input
       metadata][google.cloud.aiplatform.v1.ExplanationMetadata.inputs] of the
       features. The key is the name of the feature to be overridden. The keys
       specified here must exist in the input metadata to be overridden. If a
       feature is not specified here, the corresponding feature's input metadata
       is not overridden.
       
      map<string, .google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride> inputs = 1 [(.google.api.field_behavior) = REQUIRED];
    • putInputsBuilderIfAbsent

       Required. Overrides the [input
       metadata][google.cloud.aiplatform.v1.ExplanationMetadata.inputs] of the
       features. The key is the name of the feature to be overridden. The keys
       specified here must exist in the input metadata to be overridden. If a
       feature is not specified here, the corresponding feature's input metadata
       is not overridden.
       
      map<string, .google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride> inputs = 1 [(.google.api.field_behavior) = REQUIRED];