Class StopTrialRequest.Builder (3.18.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StopTrialRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StopTrialRequest.Builder
Overrides

build()

public StopTrialRequest build()
Returns
TypeDescription
StopTrialRequest

buildPartial()

public StopTrialRequest buildPartial()
Returns
TypeDescription
StopTrialRequest

clear()

public StopTrialRequest.Builder clear()
Returns
TypeDescription
StopTrialRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public StopTrialRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
StopTrialRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public StopTrialRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
StopTrialRequest.Builder
Overrides

clone()

public StopTrialRequest.Builder clone()
Returns
TypeDescription
StopTrialRequest.Builder
Overrides

getDefaultInstanceForType()

public StopTrialRequest getDefaultInstanceForType()
Returns
TypeDescription
StopTrialRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StopTrialRequest other)

public StopTrialRequest.Builder mergeFrom(StopTrialRequest other)
Parameter
NameDescription
otherStopTrialRequest
Returns
TypeDescription
StopTrialRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StopTrialRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StopTrialRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public StopTrialRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
StopTrialRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StopTrialRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StopTrialRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public StopTrialRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StopTrialRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StopTrialRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StopTrialRequest.Builder
Overrides