Class PredictLongRunningResponse.Builder (3.56.0)

public static final class PredictLongRunningResponse.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public PredictLongRunningResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResponse()

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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