public static final class ClipAssetRequest.Builder extends GeneratedMessageV3.Builder<ClipAssetRequest.Builder> implements ClipAssetRequestOrBuilder
Request message for ClipAsset API.
Protobuf type google.cloud.visionai.v1.ClipAssetRequest
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ClipAssetRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ClipAssetRequest build()
buildPartial()
public ClipAssetRequest buildPartial()
clear()
public ClipAssetRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ClipAssetRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public ClipAssetRequest.Builder clearName()
Required. The resource name of the asset to request clips for.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public ClipAssetRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTemporalPartition()
public ClipAssetRequest.Builder clearTemporalPartition()
Required. The time range to request clips for.
.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public ClipAssetRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public ClipAssetRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getName()
Required. The resource name of the asset to request clips for.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. The resource name of the asset to request clips for.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getTemporalPartition()
public Partition.TemporalPartition getTemporalPartition()
Required. The time range to request clips for.
.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 2 [(.google.api.field_behavior) = REQUIRED];
getTemporalPartitionBuilder()
public Partition.TemporalPartition.Builder getTemporalPartitionBuilder()
Required. The time range to request clips for.
.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 2 [(.google.api.field_behavior) = REQUIRED];
getTemporalPartitionOrBuilder()
public Partition.TemporalPartitionOrBuilder getTemporalPartitionOrBuilder()
Required. The time range to request clips for.
.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 2 [(.google.api.field_behavior) = REQUIRED];
hasTemporalPartition()
public boolean hasTemporalPartition()
Required. The time range to request clips for.
.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the temporalPartition field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ClipAssetRequest other)
public ClipAssetRequest.Builder mergeFrom(ClipAssetRequest other)
public ClipAssetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ClipAssetRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeTemporalPartition(Partition.TemporalPartition value)
public ClipAssetRequest.Builder mergeTemporalPartition(Partition.TemporalPartition value)
Required. The time range to request clips for.
.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 2 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ClipAssetRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ClipAssetRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setName(String value)
public ClipAssetRequest.Builder setName(String value)
Required. The resource name of the asset to request clips for.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The name to set.
|
setNameBytes(ByteString value)
public ClipAssetRequest.Builder setNameBytes(ByteString value)
Required. The resource name of the asset to request clips for.
Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ClipAssetRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTemporalPartition(Partition.TemporalPartition value)
public ClipAssetRequest.Builder setTemporalPartition(Partition.TemporalPartition value)
Required. The time range to request clips for.
.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 2 [(.google.api.field_behavior) = REQUIRED];
setTemporalPartition(Partition.TemporalPartition.Builder builderForValue)
public ClipAssetRequest.Builder setTemporalPartition(Partition.TemporalPartition.Builder builderForValue)
Required. The time range to request clips for.
.google.cloud.visionai.v1.Partition.TemporalPartition temporal_partition = 2 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final ClipAssetRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides