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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public PredictLongRunningResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public PredictLongRunningResponse build()
public PredictLongRunningResponse buildPartial()
public PredictLongRunningResponse.Builder clear()
Overrides
public PredictLongRunningResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public PredictLongRunningResponse.Builder clearGenerateVideoResponse()
The response of the video generation prediction.
.google.cloud.aiplatform.v1beta1.GenerateVideoResponse generate_video_response = 1;
public PredictLongRunningResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public PredictLongRunningResponse.Builder clearResponse()
public PredictLongRunningResponse.Builder clone()
Overrides
public PredictLongRunningResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public GenerateVideoResponse getGenerateVideoResponse()
The response of the video generation prediction.
.google.cloud.aiplatform.v1beta1.GenerateVideoResponse generate_video_response = 1;
public GenerateVideoResponse.Builder getGenerateVideoResponseBuilder()
The response of the video generation prediction.
.google.cloud.aiplatform.v1beta1.GenerateVideoResponse generate_video_response = 1;
public GenerateVideoResponseOrBuilder getGenerateVideoResponseOrBuilder()
The response of the video generation prediction.
.google.cloud.aiplatform.v1beta1.GenerateVideoResponse generate_video_response = 1;
public PredictLongRunningResponse.ResponseCase getResponseCase()
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public PredictLongRunningResponse.Builder mergeFrom(PredictLongRunningResponse other)
public PredictLongRunningResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public PredictLongRunningResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public PredictLongRunningResponse.Builder mergeGenerateVideoResponse(GenerateVideoResponse value)
The response of the video generation prediction.
.google.cloud.aiplatform.v1beta1.GenerateVideoResponse generate_video_response = 1;
public final PredictLongRunningResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public PredictLongRunningResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public PredictLongRunningResponse.Builder setGenerateVideoResponse(GenerateVideoResponse value)
The response of the video generation prediction.
.google.cloud.aiplatform.v1beta1.GenerateVideoResponse generate_video_response = 1;
public PredictLongRunningResponse.Builder setGenerateVideoResponse(GenerateVideoResponse.Builder builderForValue)
The response of the video generation prediction.
.google.cloud.aiplatform.v1beta1.GenerateVideoResponse generate_video_response = 1;
public PredictLongRunningResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final PredictLongRunningResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides