Class ModelMonitoringInput.VertexEndpointLogs.Builder

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

public static final class ModelMonitoringInput.VertexEndpointLogs.Builder extends com.google.protobuf.GeneratedMessage.Builder<ModelMonitoringInput.VertexEndpointLogs.Builder> implements ModelMonitoringInput.VertexEndpointLogsOrBuilder
 Data from Vertex AI Endpoint request response logging.
 
Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitoringInput.VertexEndpointLogs
  • 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<ModelMonitoringInput.VertexEndpointLogs.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<ModelMonitoringInput.VertexEndpointLogs.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<ModelMonitoringInput.VertexEndpointLogs.Builder>
    • getDefaultInstanceForType

      public ModelMonitoringInput.VertexEndpointLogs 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

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

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

      public ModelMonitoringInput.VertexEndpointLogs.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<ModelMonitoringInput.VertexEndpointLogs.Builder>
      Throws:
      IOException
    • getEndpointsList

      public com.google.protobuf.ProtocolStringList getEndpointsList()
       List of endpoint resource names. The endpoints must enable the logging
       with the [Endpoint].[request_response_logging_config], and must contain
       the deployed model corresponding to the model version specified in
       [ModelMonitor].[model_monitoring_target].
       
      repeated string endpoints = 1 [(.google.api.resource_reference) = { ... }
      Specified by:
      getEndpointsList in interface ModelMonitoringInput.VertexEndpointLogsOrBuilder
      Returns:
      A list containing the endpoints.
    • getEndpointsCount

      public int getEndpointsCount()
       List of endpoint resource names. The endpoints must enable the logging
       with the [Endpoint].[request_response_logging_config], and must contain
       the deployed model corresponding to the model version specified in
       [ModelMonitor].[model_monitoring_target].
       
      repeated string endpoints = 1 [(.google.api.resource_reference) = { ... }
      Specified by:
      getEndpointsCount in interface ModelMonitoringInput.VertexEndpointLogsOrBuilder
      Returns:
      The count of endpoints.
    • getEndpoints

      public String getEndpoints(int index)
       List of endpoint resource names. The endpoints must enable the logging
       with the [Endpoint].[request_response_logging_config], and must contain
       the deployed model corresponding to the model version specified in
       [ModelMonitor].[model_monitoring_target].
       
      repeated string endpoints = 1 [(.google.api.resource_reference) = { ... }
      Specified by:
      getEndpoints in interface ModelMonitoringInput.VertexEndpointLogsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The endpoints at the given index.
    • getEndpointsBytes

      public com.google.protobuf.ByteString getEndpointsBytes(int index)
       List of endpoint resource names. The endpoints must enable the logging
       with the [Endpoint].[request_response_logging_config], and must contain
       the deployed model corresponding to the model version specified in
       [ModelMonitor].[model_monitoring_target].
       
      repeated string endpoints = 1 [(.google.api.resource_reference) = { ... }
      Specified by:
      getEndpointsBytes in interface ModelMonitoringInput.VertexEndpointLogsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the endpoints at the given index.
    • setEndpoints

      public ModelMonitoringInput.VertexEndpointLogs.Builder setEndpoints(int index, String value)
       List of endpoint resource names. The endpoints must enable the logging
       with the [Endpoint].[request_response_logging_config], and must contain
       the deployed model corresponding to the model version specified in
       [ModelMonitor].[model_monitoring_target].
       
      repeated string endpoints = 1 [(.google.api.resource_reference) = { ... }
      Parameters:
      index - The index to set the value at.
      value - The endpoints to set.
      Returns:
      This builder for chaining.
    • addEndpoints

       List of endpoint resource names. The endpoints must enable the logging
       with the [Endpoint].[request_response_logging_config], and must contain
       the deployed model corresponding to the model version specified in
       [ModelMonitor].[model_monitoring_target].
       
      repeated string endpoints = 1 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The endpoints to add.
      Returns:
      This builder for chaining.
    • addAllEndpoints

       List of endpoint resource names. The endpoints must enable the logging
       with the [Endpoint].[request_response_logging_config], and must contain
       the deployed model corresponding to the model version specified in
       [ModelMonitor].[model_monitoring_target].
       
      repeated string endpoints = 1 [(.google.api.resource_reference) = { ... }
      Parameters:
      values - The endpoints to add.
      Returns:
      This builder for chaining.
    • clearEndpoints

       List of endpoint resource names. The endpoints must enable the logging
       with the [Endpoint].[request_response_logging_config], and must contain
       the deployed model corresponding to the model version specified in
       [ModelMonitor].[model_monitoring_target].
       
      repeated string endpoints = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • addEndpointsBytes

      public ModelMonitoringInput.VertexEndpointLogs.Builder addEndpointsBytes(com.google.protobuf.ByteString value)
       List of endpoint resource names. The endpoints must enable the logging
       with the [Endpoint].[request_response_logging_config], and must contain
       the deployed model corresponding to the model version specified in
       [ModelMonitor].[model_monitoring_target].
       
      repeated string endpoints = 1 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes of the endpoints to add.
      Returns:
      This builder for chaining.