Class PredictLongRunningResponse.Builder (3.84.0)

public static final class PredictLongRunningResponse.Builder extends GeneratedMessage.Builder<PredictLongRunningResponse.Builder> implements PredictLongRunningResponseOrBuilder

Response message for [PredictionService.PredictLongRunning]

Protobuf type google.cloud.aiplatform.v1beta1.PredictLongRunningResponse

Static Methods

getDescriptor()

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

Methods

build()

public PredictLongRunningResponse build()
Returns
Type Description
PredictLongRunningResponse

buildPartial()

public PredictLongRunningResponse buildPartial()
Returns
Type Description
PredictLongRunningResponse

clear()

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

clearGenerateVideoResponse()

public PredictLongRunningResponse.Builder clearGenerateVideoResponse()

The response of the video generation prediction.

.google.cloud.aiplatform.v1beta1.GenerateVideoResponse generate_video_response = 1;

Returns
Type Description
PredictLongRunningResponse.Builder

clearResponse()

public PredictLongRunningResponse.Builder clearResponse()
Returns
Type Description
PredictLongRunningResponse.Builder

getDefaultInstanceForType()

public PredictLongRunningResponse getDefaultInstanceForType()
Returns
Type Description
PredictLongRunningResponse

getDescriptorForType()

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

getGenerateVideoResponse()

public GenerateVideoResponse getGenerateVideoResponse()

The response of the video generation prediction.

.google.cloud.aiplatform.v1beta1.GenerateVideoResponse generate_video_response = 1;

Returns
Type Description
GenerateVideoResponse

The generateVideoResponse.

getGenerateVideoResponseBuilder()

public GenerateVideoResponse.Builder getGenerateVideoResponseBuilder()

The response of the video generation prediction.

.google.cloud.aiplatform.v1beta1.GenerateVideoResponse generate_video_response = 1;

Returns
Type Description
GenerateVideoResponse.Builder

getGenerateVideoResponseOrBuilder()

public GenerateVideoResponseOrBuilder getGenerateVideoResponseOrBuilder()

The response of the video generation prediction.

.google.cloud.aiplatform.v1beta1.GenerateVideoResponse generate_video_response = 1;

Returns
Type Description
GenerateVideoResponseOrBuilder

getResponseCase()

public PredictLongRunningResponse.ResponseCase getResponseCase()
Returns
Type Description
PredictLongRunningResponse.ResponseCase

hasGenerateVideoResponse()

public boolean hasGenerateVideoResponse()

The response of the video generation prediction.

.google.cloud.aiplatform.v1beta1.GenerateVideoResponse generate_video_response = 1;

Returns
Type Description
boolean

Whether the generateVideoResponse field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PredictLongRunningResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGenerateVideoResponse(GenerateVideoResponse value)

public PredictLongRunningResponse.Builder mergeGenerateVideoResponse(GenerateVideoResponse value)

The response of the video generation prediction.

.google.cloud.aiplatform.v1beta1.GenerateVideoResponse generate_video_response = 1;

Parameter
Name Description
value GenerateVideoResponse
Returns
Type Description
PredictLongRunningResponse.Builder

setGenerateVideoResponse(GenerateVideoResponse value)

public PredictLongRunningResponse.Builder setGenerateVideoResponse(GenerateVideoResponse value)

The response of the video generation prediction.

.google.cloud.aiplatform.v1beta1.GenerateVideoResponse generate_video_response = 1;

Parameter
Name Description
value GenerateVideoResponse
Returns
Type Description
PredictLongRunningResponse.Builder

setGenerateVideoResponse(GenerateVideoResponse.Builder builderForValue)

public PredictLongRunningResponse.Builder setGenerateVideoResponse(GenerateVideoResponse.Builder builderForValue)

The response of the video generation prediction.

.google.cloud.aiplatform.v1beta1.GenerateVideoResponse generate_video_response = 1;

Parameter
Name Description
builderForValue GenerateVideoResponse.Builder
Returns
Type Description
PredictLongRunningResponse.Builder