Class CreateTensorboardRunRequest.Builder

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

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

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

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

      public CreateTensorboardRunRequest.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<CreateTensorboardRunRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. The resource name of the TensorboardExperiment to create the
       TensorboardRun in. Format:
       `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateTensorboardRunRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The resource name of the TensorboardExperiment to create the
       TensorboardRun in. Format:
       `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateTensorboardRunRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public CreateTensorboardRunRequest.Builder setParent(String value)
       Required. The resource name of the TensorboardExperiment to create the
       TensorboardRun in. Format:
       `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

       Required. The resource name of the TensorboardExperiment to create the
       TensorboardRun in. Format:
       `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateTensorboardRunRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the TensorboardExperiment to create the
       TensorboardRun in. Format:
       `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • hasTensorboardRun

      public boolean hasTensorboardRun()
       Required. The TensorboardRun to create.
       
      .google.cloud.aiplatform.v1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasTensorboardRun in interface CreateTensorboardRunRequestOrBuilder
      Returns:
      Whether the tensorboardRun field is set.
    • getTensorboardRun

      public TensorboardRun getTensorboardRun()
       Required. The TensorboardRun to create.
       
      .google.cloud.aiplatform.v1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTensorboardRun in interface CreateTensorboardRunRequestOrBuilder
      Returns:
      The tensorboardRun.
    • setTensorboardRun

      public CreateTensorboardRunRequest.Builder setTensorboardRun(TensorboardRun value)
       Required. The TensorboardRun to create.
       
      .google.cloud.aiplatform.v1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];
    • setTensorboardRun

      public CreateTensorboardRunRequest.Builder setTensorboardRun(TensorboardRun.Builder builderForValue)
       Required. The TensorboardRun to create.
       
      .google.cloud.aiplatform.v1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeTensorboardRun

      public CreateTensorboardRunRequest.Builder mergeTensorboardRun(TensorboardRun value)
       Required. The TensorboardRun to create.
       
      .google.cloud.aiplatform.v1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearTensorboardRun

      public CreateTensorboardRunRequest.Builder clearTensorboardRun()
       Required. The TensorboardRun to create.
       
      .google.cloud.aiplatform.v1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];
    • getTensorboardRunBuilder

      public TensorboardRun.Builder getTensorboardRunBuilder()
       Required. The TensorboardRun to create.
       
      .google.cloud.aiplatform.v1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];
    • getTensorboardRunOrBuilder

      public TensorboardRunOrBuilder getTensorboardRunOrBuilder()
       Required. The TensorboardRun to create.
       
      .google.cloud.aiplatform.v1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTensorboardRunOrBuilder in interface CreateTensorboardRunRequestOrBuilder
    • getTensorboardRunId

      public String getTensorboardRunId()
       Required. The ID to use for the Tensorboard run, which becomes the final
       component of the Tensorboard run's resource name.
      
       This value should be 1-128 characters, and valid characters
       are `/[a-z][0-9]-/`.
       
      string tensorboard_run_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTensorboardRunId in interface CreateTensorboardRunRequestOrBuilder
      Returns:
      The tensorboardRunId.
    • getTensorboardRunIdBytes

      public com.google.protobuf.ByteString getTensorboardRunIdBytes()
       Required. The ID to use for the Tensorboard run, which becomes the final
       component of the Tensorboard run's resource name.
      
       This value should be 1-128 characters, and valid characters
       are `/[a-z][0-9]-/`.
       
      string tensorboard_run_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTensorboardRunIdBytes in interface CreateTensorboardRunRequestOrBuilder
      Returns:
      The bytes for tensorboardRunId.
    • setTensorboardRunId

      public CreateTensorboardRunRequest.Builder setTensorboardRunId(String value)
       Required. The ID to use for the Tensorboard run, which becomes the final
       component of the Tensorboard run's resource name.
      
       This value should be 1-128 characters, and valid characters
       are `/[a-z][0-9]-/`.
       
      string tensorboard_run_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The tensorboardRunId to set.
      Returns:
      This builder for chaining.
    • clearTensorboardRunId

      public CreateTensorboardRunRequest.Builder clearTensorboardRunId()
       Required. The ID to use for the Tensorboard run, which becomes the final
       component of the Tensorboard run's resource name.
      
       This value should be 1-128 characters, and valid characters
       are `/[a-z][0-9]-/`.
       
      string tensorboard_run_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setTensorboardRunIdBytes

      public CreateTensorboardRunRequest.Builder setTensorboardRunIdBytes(com.google.protobuf.ByteString value)
       Required. The ID to use for the Tensorboard run, which becomes the final
       component of the Tensorboard run's resource name.
      
       This value should be 1-128 characters, and valid characters
       are `/[a-z][0-9]-/`.
       
      string tensorboard_run_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for tensorboardRunId to set.
      Returns:
      This builder for chaining.