Class StopTrialRequest.Builder (3.55.0)

public static final class StopTrialRequest.Builder extends GeneratedMessageV3.Builder<StopTrialRequest.Builder> implements StopTrialRequestOrBuilder

Request message for VizierService.StopTrial.

Protobuf type google.cloud.aiplatform.v1beta1.StopTrialRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StopTrialRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StopTrialRequest.Builder
Overrides

build()

public StopTrialRequest build()
Returns
Type Description
StopTrialRequest

buildPartial()

public StopTrialRequest buildPartial()
Returns
Type Description
StopTrialRequest

clear()

public StopTrialRequest.Builder clear()
Returns
Type Description
StopTrialRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public StopTrialRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
StopTrialRequest.Builder
Overrides

clearName()

public StopTrialRequest.Builder clearName()

Required. The Trial's name. Format: projects/{project}/locations/{location}/studies/{study}/trials/{trial}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
StopTrialRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public StopTrialRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StopTrialRequest.Builder
Overrides

clone()

public StopTrialRequest.Builder clone()
Returns
Type Description
StopTrialRequest.Builder
Overrides

getDefaultInstanceForType()

public StopTrialRequest getDefaultInstanceForType()
Returns
Type Description
StopTrialRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. The Trial's name. Format: projects/{project}/locations/{location}/studies/{study}/trials/{trial}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The Trial's name. Format: projects/{project}/locations/{location}/studies/{study}/trials/{trial}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StopTrialRequest other)

public StopTrialRequest.Builder mergeFrom(StopTrialRequest other)
Parameter
Name Description
other StopTrialRequest
Returns
Type Description
StopTrialRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StopTrialRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StopTrialRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StopTrialRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StopTrialRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StopTrialRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StopTrialRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public StopTrialRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StopTrialRequest.Builder
Overrides

setName(String value)

public StopTrialRequest.Builder setName(String value)

Required. The Trial's name. Format: projects/{project}/locations/{location}/studies/{study}/trials/{trial}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
StopTrialRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public StopTrialRequest.Builder setNameBytes(ByteString value)

Required. The Trial's name. Format: projects/{project}/locations/{location}/studies/{study}/trials/{trial}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
StopTrialRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StopTrialRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StopTrialRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StopTrialRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StopTrialRequest.Builder
Overrides