Class protos.google.cloud.aiplatform.v1.VizierService (3.9.0)

Represents a VizierService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.aiplatform.v1.VizierService

Package

@google-cloud/aiplatform

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new VizierService service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

addTrialMeasurement(request, callback)

public addTrialMeasurement(request: google.cloud.aiplatform.v1.IAddTrialMeasurementRequest, callback: google.cloud.aiplatform.v1.VizierService.AddTrialMeasurementCallback): void;

Calls AddTrialMeasurement.

Parameters
NameDescription
request IAddTrialMeasurementRequest

AddTrialMeasurementRequest message or plain object

callback AddTrialMeasurementCallback

Node-style callback called with the error, if any, and Trial

Returns
TypeDescription
void

addTrialMeasurement(request)

public addTrialMeasurement(request: google.cloud.aiplatform.v1.IAddTrialMeasurementRequest): Promise<google.cloud.aiplatform.v1.Trial>;

Calls AddTrialMeasurement.

Parameter
NameDescription
request IAddTrialMeasurementRequest

AddTrialMeasurementRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.aiplatform.v1.Trial>

Promise

checkTrialEarlyStoppingState(request, callback)

public checkTrialEarlyStoppingState(request: google.cloud.aiplatform.v1.ICheckTrialEarlyStoppingStateRequest, callback: google.cloud.aiplatform.v1.VizierService.CheckTrialEarlyStoppingStateCallback): void;

Calls CheckTrialEarlyStoppingState.

Parameters
NameDescription
request ICheckTrialEarlyStoppingStateRequest

CheckTrialEarlyStoppingStateRequest message or plain object

callback CheckTrialEarlyStoppingStateCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

checkTrialEarlyStoppingState(request)

public checkTrialEarlyStoppingState(request: google.cloud.aiplatform.v1.ICheckTrialEarlyStoppingStateRequest): Promise<google.longrunning.Operation>;

Calls CheckTrialEarlyStoppingState.

Parameter
NameDescription
request ICheckTrialEarlyStoppingStateRequest

CheckTrialEarlyStoppingStateRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

completeTrial(request, callback)

public completeTrial(request: google.cloud.aiplatform.v1.ICompleteTrialRequest, callback: google.cloud.aiplatform.v1.VizierService.CompleteTrialCallback): void;

Calls CompleteTrial.

Parameters
NameDescription
request ICompleteTrialRequest

CompleteTrialRequest message or plain object

callback CompleteTrialCallback

Node-style callback called with the error, if any, and Trial

Returns
TypeDescription
void

completeTrial(request)

public completeTrial(request: google.cloud.aiplatform.v1.ICompleteTrialRequest): Promise<google.cloud.aiplatform.v1.Trial>;

Calls CompleteTrial.

Parameter
NameDescription
request ICompleteTrialRequest

CompleteTrialRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.aiplatform.v1.Trial>

Promise

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): VizierService;

Creates new VizierService service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
VizierService

RPC service. Useful where requests and/or responses are streamed.

createStudy(request, callback)

public createStudy(request: google.cloud.aiplatform.v1.ICreateStudyRequest, callback: google.cloud.aiplatform.v1.VizierService.CreateStudyCallback): void;

Calls CreateStudy.

Parameters
NameDescription
request ICreateStudyRequest

CreateStudyRequest message or plain object

callback CreateStudyCallback

Node-style callback called with the error, if any, and Study

Returns
TypeDescription
void

createStudy(request)

public createStudy(request: google.cloud.aiplatform.v1.ICreateStudyRequest): Promise<google.cloud.aiplatform.v1.Study>;

Calls CreateStudy.

Parameter
NameDescription
request ICreateStudyRequest

CreateStudyRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.aiplatform.v1.Study>

Promise

createTrial(request, callback)

public createTrial(request: google.cloud.aiplatform.v1.ICreateTrialRequest, callback: google.cloud.aiplatform.v1.VizierService.CreateTrialCallback): void;

Calls CreateTrial.

Parameters
NameDescription
request ICreateTrialRequest

CreateTrialRequest message or plain object

callback CreateTrialCallback

Node-style callback called with the error, if any, and Trial

Returns
TypeDescription
void

createTrial(request)

public createTrial(request: google.cloud.aiplatform.v1.ICreateTrialRequest): Promise<google.cloud.aiplatform.v1.Trial>;

Calls CreateTrial.

Parameter
NameDescription
request ICreateTrialRequest

CreateTrialRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.aiplatform.v1.Trial>

Promise

deleteStudy(request, callback)

public deleteStudy(request: google.cloud.aiplatform.v1.IDeleteStudyRequest, callback: google.cloud.aiplatform.v1.VizierService.DeleteStudyCallback): void;

Calls DeleteStudy.

Parameters
NameDescription
request IDeleteStudyRequest

DeleteStudyRequest message or plain object

callback DeleteStudyCallback

Node-style callback called with the error, if any, and Empty

Returns
TypeDescription
void

deleteStudy(request)

public deleteStudy(request: google.cloud.aiplatform.v1.IDeleteStudyRequest): Promise<google.protobuf.Empty>;

Calls DeleteStudy.

Parameter
NameDescription
request IDeleteStudyRequest

DeleteStudyRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

deleteTrial(request, callback)

public deleteTrial(request: google.cloud.aiplatform.v1.IDeleteTrialRequest, callback: google.cloud.aiplatform.v1.VizierService.DeleteTrialCallback): void;

Calls DeleteTrial.

Parameters
NameDescription
request IDeleteTrialRequest

DeleteTrialRequest message or plain object

callback DeleteTrialCallback

Node-style callback called with the error, if any, and Empty

Returns
TypeDescription
void

deleteTrial(request)

public deleteTrial(request: google.cloud.aiplatform.v1.IDeleteTrialRequest): Promise<google.protobuf.Empty>;

Calls DeleteTrial.

Parameter
NameDescription
request IDeleteTrialRequest

DeleteTrialRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

getStudy(request, callback)

public getStudy(request: google.cloud.aiplatform.v1.IGetStudyRequest, callback: google.cloud.aiplatform.v1.VizierService.GetStudyCallback): void;

Calls GetStudy.

Parameters
NameDescription
request IGetStudyRequest

GetStudyRequest message or plain object

callback GetStudyCallback

Node-style callback called with the error, if any, and Study

Returns
TypeDescription
void

getStudy(request)

public getStudy(request: google.cloud.aiplatform.v1.IGetStudyRequest): Promise<google.cloud.aiplatform.v1.Study>;

Calls GetStudy.

Parameter
NameDescription
request IGetStudyRequest

GetStudyRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.aiplatform.v1.Study>

Promise

getTrial(request, callback)

public getTrial(request: google.cloud.aiplatform.v1.IGetTrialRequest, callback: google.cloud.aiplatform.v1.VizierService.GetTrialCallback): void;

Calls GetTrial.

Parameters
NameDescription
request IGetTrialRequest

GetTrialRequest message or plain object

callback GetTrialCallback

Node-style callback called with the error, if any, and Trial

Returns
TypeDescription
void

getTrial(request)

public getTrial(request: google.cloud.aiplatform.v1.IGetTrialRequest): Promise<google.cloud.aiplatform.v1.Trial>;

Calls GetTrial.

Parameter
NameDescription
request IGetTrialRequest

GetTrialRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.aiplatform.v1.Trial>

Promise

listOptimalTrials(request, callback)

public listOptimalTrials(request: google.cloud.aiplatform.v1.IListOptimalTrialsRequest, callback: google.cloud.aiplatform.v1.VizierService.ListOptimalTrialsCallback): void;

Calls ListOptimalTrials.

Parameters
NameDescription
request IListOptimalTrialsRequest

ListOptimalTrialsRequest message or plain object

callback ListOptimalTrialsCallback

Node-style callback called with the error, if any, and ListOptimalTrialsResponse

Returns
TypeDescription
void

listOptimalTrials(request)

public listOptimalTrials(request: google.cloud.aiplatform.v1.IListOptimalTrialsRequest): Promise<google.cloud.aiplatform.v1.ListOptimalTrialsResponse>;

Calls ListOptimalTrials.

Parameter
NameDescription
request IListOptimalTrialsRequest

ListOptimalTrialsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.aiplatform.v1.ListOptimalTrialsResponse>

Promise

listStudies(request, callback)

public listStudies(request: google.cloud.aiplatform.v1.IListStudiesRequest, callback: google.cloud.aiplatform.v1.VizierService.ListStudiesCallback): void;

Calls ListStudies.

Parameters
NameDescription
request IListStudiesRequest

ListStudiesRequest message or plain object

callback ListStudiesCallback

Node-style callback called with the error, if any, and ListStudiesResponse

Returns
TypeDescription
void

listStudies(request)

public listStudies(request: google.cloud.aiplatform.v1.IListStudiesRequest): Promise<google.cloud.aiplatform.v1.ListStudiesResponse>;

Calls ListStudies.

Parameter
NameDescription
request IListStudiesRequest

ListStudiesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.aiplatform.v1.ListStudiesResponse>

Promise

listTrials(request, callback)

public listTrials(request: google.cloud.aiplatform.v1.IListTrialsRequest, callback: google.cloud.aiplatform.v1.VizierService.ListTrialsCallback): void;

Calls ListTrials.

Parameters
NameDescription
request IListTrialsRequest

ListTrialsRequest message or plain object

callback ListTrialsCallback

Node-style callback called with the error, if any, and ListTrialsResponse

Returns
TypeDescription
void

listTrials(request)

public listTrials(request: google.cloud.aiplatform.v1.IListTrialsRequest): Promise<google.cloud.aiplatform.v1.ListTrialsResponse>;

Calls ListTrials.

Parameter
NameDescription
request IListTrialsRequest

ListTrialsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.aiplatform.v1.ListTrialsResponse>

Promise

lookupStudy(request, callback)

public lookupStudy(request: google.cloud.aiplatform.v1.ILookupStudyRequest, callback: google.cloud.aiplatform.v1.VizierService.LookupStudyCallback): void;

Calls LookupStudy.

Parameters
NameDescription
request ILookupStudyRequest

LookupStudyRequest message or plain object

callback LookupStudyCallback

Node-style callback called with the error, if any, and Study

Returns
TypeDescription
void

lookupStudy(request)

public lookupStudy(request: google.cloud.aiplatform.v1.ILookupStudyRequest): Promise<google.cloud.aiplatform.v1.Study>;

Calls LookupStudy.

Parameter
NameDescription
request ILookupStudyRequest

LookupStudyRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.aiplatform.v1.Study>

Promise

stopTrial(request, callback)

public stopTrial(request: google.cloud.aiplatform.v1.IStopTrialRequest, callback: google.cloud.aiplatform.v1.VizierService.StopTrialCallback): void;

Calls StopTrial.

Parameters
NameDescription
request IStopTrialRequest

StopTrialRequest message or plain object

callback StopTrialCallback

Node-style callback called with the error, if any, and Trial

Returns
TypeDescription
void

stopTrial(request)

public stopTrial(request: google.cloud.aiplatform.v1.IStopTrialRequest): Promise<google.cloud.aiplatform.v1.Trial>;

Calls StopTrial.

Parameter
NameDescription
request IStopTrialRequest

StopTrialRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.aiplatform.v1.Trial>

Promise

suggestTrials(request, callback)

public suggestTrials(request: google.cloud.aiplatform.v1.ISuggestTrialsRequest, callback: google.cloud.aiplatform.v1.VizierService.SuggestTrialsCallback): void;

Calls SuggestTrials.

Parameters
NameDescription
request ISuggestTrialsRequest

SuggestTrialsRequest message or plain object

callback SuggestTrialsCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

suggestTrials(request)

public suggestTrials(request: google.cloud.aiplatform.v1.ISuggestTrialsRequest): Promise<google.longrunning.Operation>;

Calls SuggestTrials.

Parameter
NameDescription
request ISuggestTrialsRequest

SuggestTrialsRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise