Class WriteTensorboardRunDataRequest.Builder

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

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

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

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

      public WriteTensorboardRunDataRequest.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<WriteTensorboardRunDataRequest.Builder>
      Throws:
      IOException
    • getTensorboardRun

      public String getTensorboardRun()
       Required. The resource name of the TensorboardRun to write data to.
       Format:
       `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
       
      string tensorboard_run = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getTensorboardRun in interface WriteTensorboardRunDataRequestOrBuilder
      Returns:
      The tensorboardRun.
    • getTensorboardRunBytes

      public com.google.protobuf.ByteString getTensorboardRunBytes()
       Required. The resource name of the TensorboardRun to write data to.
       Format:
       `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
       
      string tensorboard_run = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getTensorboardRunBytes in interface WriteTensorboardRunDataRequestOrBuilder
      Returns:
      The bytes for tensorboardRun.
    • setTensorboardRun

      public WriteTensorboardRunDataRequest.Builder setTensorboardRun(String value)
       Required. The resource name of the TensorboardRun to write data to.
       Format:
       `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
       
      string tensorboard_run = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The tensorboardRun to set.
      Returns:
      This builder for chaining.
    • clearTensorboardRun

      public WriteTensorboardRunDataRequest.Builder clearTensorboardRun()
       Required. The resource name of the TensorboardRun to write data to.
       Format:
       `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
       
      string tensorboard_run = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setTensorboardRunBytes

      public WriteTensorboardRunDataRequest.Builder setTensorboardRunBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the TensorboardRun to write data to.
       Format:
       `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}`
       
      string tensorboard_run = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for tensorboardRun to set.
      Returns:
      This builder for chaining.
    • getTimeSeriesDataList

      public List<TimeSeriesData> getTimeSeriesDataList()
       Required. The TensorboardTimeSeries data to write.
       Values with in a time series are indexed by their step value.
       Repeated writes to the same step will overwrite the existing value for that
       step.
       The upper limit of data points per write request is 5000.
       
      repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTimeSeriesDataList in interface WriteTensorboardRunDataRequestOrBuilder
    • getTimeSeriesDataCount

      public int getTimeSeriesDataCount()
       Required. The TensorboardTimeSeries data to write.
       Values with in a time series are indexed by their step value.
       Repeated writes to the same step will overwrite the existing value for that
       step.
       The upper limit of data points per write request is 5000.
       
      repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTimeSeriesDataCount in interface WriteTensorboardRunDataRequestOrBuilder
    • getTimeSeriesData

      public TimeSeriesData getTimeSeriesData(int index)
       Required. The TensorboardTimeSeries data to write.
       Values with in a time series are indexed by their step value.
       Repeated writes to the same step will overwrite the existing value for that
       step.
       The upper limit of data points per write request is 5000.
       
      repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTimeSeriesData in interface WriteTensorboardRunDataRequestOrBuilder
    • setTimeSeriesData

      public WriteTensorboardRunDataRequest.Builder setTimeSeriesData(int index, TimeSeriesData value)
       Required. The TensorboardTimeSeries data to write.
       Values with in a time series are indexed by their step value.
       Repeated writes to the same step will overwrite the existing value for that
       step.
       The upper limit of data points per write request is 5000.
       
      repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];
    • setTimeSeriesData

      public WriteTensorboardRunDataRequest.Builder setTimeSeriesData(int index, TimeSeriesData.Builder builderForValue)
       Required. The TensorboardTimeSeries data to write.
       Values with in a time series are indexed by their step value.
       Repeated writes to the same step will overwrite the existing value for that
       step.
       The upper limit of data points per write request is 5000.
       
      repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];
    • addTimeSeriesData

      public WriteTensorboardRunDataRequest.Builder addTimeSeriesData(TimeSeriesData value)
       Required. The TensorboardTimeSeries data to write.
       Values with in a time series are indexed by their step value.
       Repeated writes to the same step will overwrite the existing value for that
       step.
       The upper limit of data points per write request is 5000.
       
      repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];
    • addTimeSeriesData

      public WriteTensorboardRunDataRequest.Builder addTimeSeriesData(int index, TimeSeriesData value)
       Required. The TensorboardTimeSeries data to write.
       Values with in a time series are indexed by their step value.
       Repeated writes to the same step will overwrite the existing value for that
       step.
       The upper limit of data points per write request is 5000.
       
      repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];
    • addTimeSeriesData

      public WriteTensorboardRunDataRequest.Builder addTimeSeriesData(TimeSeriesData.Builder builderForValue)
       Required. The TensorboardTimeSeries data to write.
       Values with in a time series are indexed by their step value.
       Repeated writes to the same step will overwrite the existing value for that
       step.
       The upper limit of data points per write request is 5000.
       
      repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];
    • addTimeSeriesData

      public WriteTensorboardRunDataRequest.Builder addTimeSeriesData(int index, TimeSeriesData.Builder builderForValue)
       Required. The TensorboardTimeSeries data to write.
       Values with in a time series are indexed by their step value.
       Repeated writes to the same step will overwrite the existing value for that
       step.
       The upper limit of data points per write request is 5000.
       
      repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];
    • addAllTimeSeriesData

      public WriteTensorboardRunDataRequest.Builder addAllTimeSeriesData(Iterable<? extends TimeSeriesData> values)
       Required. The TensorboardTimeSeries data to write.
       Values with in a time series are indexed by their step value.
       Repeated writes to the same step will overwrite the existing value for that
       step.
       The upper limit of data points per write request is 5000.
       
      repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearTimeSeriesData

      public WriteTensorboardRunDataRequest.Builder clearTimeSeriesData()
       Required. The TensorboardTimeSeries data to write.
       Values with in a time series are indexed by their step value.
       Repeated writes to the same step will overwrite the existing value for that
       step.
       The upper limit of data points per write request is 5000.
       
      repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];
    • removeTimeSeriesData

      public WriteTensorboardRunDataRequest.Builder removeTimeSeriesData(int index)
       Required. The TensorboardTimeSeries data to write.
       Values with in a time series are indexed by their step value.
       Repeated writes to the same step will overwrite the existing value for that
       step.
       The upper limit of data points per write request is 5000.
       
      repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];
    • getTimeSeriesDataBuilder

      public TimeSeriesData.Builder getTimeSeriesDataBuilder(int index)
       Required. The TensorboardTimeSeries data to write.
       Values with in a time series are indexed by their step value.
       Repeated writes to the same step will overwrite the existing value for that
       step.
       The upper limit of data points per write request is 5000.
       
      repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];
    • getTimeSeriesDataOrBuilder

      public TimeSeriesDataOrBuilder getTimeSeriesDataOrBuilder(int index)
       Required. The TensorboardTimeSeries data to write.
       Values with in a time series are indexed by their step value.
       Repeated writes to the same step will overwrite the existing value for that
       step.
       The upper limit of data points per write request is 5000.
       
      repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTimeSeriesDataOrBuilder in interface WriteTensorboardRunDataRequestOrBuilder
    • getTimeSeriesDataOrBuilderList

      public List<? extends TimeSeriesDataOrBuilder> getTimeSeriesDataOrBuilderList()
       Required. The TensorboardTimeSeries data to write.
       Values with in a time series are indexed by their step value.
       Repeated writes to the same step will overwrite the existing value for that
       step.
       The upper limit of data points per write request is 5000.
       
      repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTimeSeriesDataOrBuilderList in interface WriteTensorboardRunDataRequestOrBuilder
    • addTimeSeriesDataBuilder

      public TimeSeriesData.Builder addTimeSeriesDataBuilder()
       Required. The TensorboardTimeSeries data to write.
       Values with in a time series are indexed by their step value.
       Repeated writes to the same step will overwrite the existing value for that
       step.
       The upper limit of data points per write request is 5000.
       
      repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];
    • addTimeSeriesDataBuilder

      public TimeSeriesData.Builder addTimeSeriesDataBuilder(int index)
       Required. The TensorboardTimeSeries data to write.
       Values with in a time series are indexed by their step value.
       Repeated writes to the same step will overwrite the existing value for that
       step.
       The upper limit of data points per write request is 5000.
       
      repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];
    • getTimeSeriesDataBuilderList

      public List<TimeSeriesData.Builder> getTimeSeriesDataBuilderList()
       Required. The TensorboardTimeSeries data to write.
       Values with in a time series are indexed by their step value.
       Repeated writes to the same step will overwrite the existing value for that
       step.
       The upper limit of data points per write request is 5000.
       
      repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 2 [(.google.api.field_behavior) = REQUIRED];