public static final class Job.Builder extends GeneratedMessageV3.Builder<Job.Builder> implements JobOrBuilder
Transcoding job resource.
Protobuf type google.events.cloud.video.transcoder.v1.Job
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Job.BuilderImplements
JobOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Job.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Job.Builder |
build()
public Job build()
Returns | |
---|---|
Type | Description |
Job |
buildPartial()
public Job buildPartial()
Returns | |
---|---|
Type | Description |
Job |
clear()
public Job.Builder clear()
Returns | |
---|---|
Type | Description |
Job.Builder |
clearConfig()
public Job.Builder clearConfig()
The configuration for this job.
.google.events.cloud.video.transcoder.v1.JobConfig config = 5;
Returns | |
---|---|
Type | Description |
Job.Builder |
clearCreateTime()
public Job.Builder clearCreateTime()
Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12;
Returns | |
---|---|
Type | Description |
Job.Builder |
clearEndTime()
public Job.Builder clearEndTime()
Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14;
Returns | |
---|---|
Type | Description |
Job.Builder |
clearError()
public Job.Builder clearError()
Output only. An error object that describes the reason for the failure.
This property is always present when state
is FAILED
.
.google.rpc.Status error = 17;
Returns | |
---|---|
Type | Description |
Job.Builder |
clearField(Descriptors.FieldDescriptor field)
public Job.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Job.Builder |
clearJobConfig()
public Job.Builder clearJobConfig()
Returns | |
---|---|
Type | Description |
Job.Builder |
clearLabels()
public Job.Builder clearLabels()
Returns | |
---|---|
Type | Description |
Job.Builder |
clearMode()
public Job.Builder clearMode()
The processing mode of the job.
The default is PROCESSING_MODE_INTERACTIVE
.
.google.events.cloud.video.transcoder.v1.Job.ProcessingMode mode = 20;
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
clearName()
public Job.Builder clearName()
The resource name of the job.
Format: projects/{project_number}/locations/{location}/jobs/{job}
string name = 1;
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Job.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Job.Builder |
clearStartTime()
public Job.Builder clearStartTime()
Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13;
Returns | |
---|---|
Type | Description |
Job.Builder |
clearState()
public Job.Builder clearState()
Output only. The current state of the job.
.google.events.cloud.video.transcoder.v1.Job.ProcessingState state = 8;
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
clearTtlAfterCompletionDays()
public Job.Builder clearTtlAfterCompletionDays()
Job time to live value in days, which will be effective after job completion. Job should be deleted automatically after the given TTL. Enter a value between 1 and 90. The default is 30.
int32 ttl_after_completion_days = 15;
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
clone()
public Job.Builder clone()
Returns | |
---|---|
Type | Description |
Job.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
The labels associated with this job. You can use these to organize and group your jobs.
map<string, string> labels = 16;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
getConfig()
public JobConfig getConfig()
The configuration for this job.
.google.events.cloud.video.transcoder.v1.JobConfig config = 5;
Returns | |
---|---|
Type | Description |
JobConfig |
The config. |
getConfigBuilder()
public JobConfig.Builder getConfigBuilder()
The configuration for this job.
.google.events.cloud.video.transcoder.v1.JobConfig config = 5;
Returns | |
---|---|
Type | Description |
JobConfig.Builder |
getConfigOrBuilder()
public JobConfigOrBuilder getConfigOrBuilder()
The configuration for this job.
.google.events.cloud.video.transcoder.v1.JobConfig config = 5;
Returns | |
---|---|
Type | Description |
JobConfigOrBuilder |
getCreateTime()
public Timestamp getCreateTime()
Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12;
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12;
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Job getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Job |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEndTime()
public Timestamp getEndTime()
Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14;
Returns | |
---|---|
Type | Description |
Timestamp |
The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14;
Returns | |
---|---|
Type | Description |
Builder |
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getError()
public Status getError()
Output only. An error object that describes the reason for the failure.
This property is always present when state
is FAILED
.
.google.rpc.Status error = 17;
Returns | |
---|---|
Type | Description |
com.google.rpc.Status |
The error. |
getErrorBuilder()
public Status.Builder getErrorBuilder()
Output only. An error object that describes the reason for the failure.
This property is always present when state
is FAILED
.
.google.rpc.Status error = 17;
Returns | |
---|---|
Type | Description |
com.google.rpc.Status.Builder |
getErrorOrBuilder()
public StatusOrBuilder getErrorOrBuilder()
Output only. An error object that describes the reason for the failure.
This property is always present when state
is FAILED
.
.google.rpc.Status error = 17;
Returns | |
---|---|
Type | Description |
com.google.rpc.StatusOrBuilder |
getJobConfigCase()
public Job.JobConfigCase getJobConfigCase()
Returns | |
---|---|
Type | Description |
Job.JobConfigCase |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
The labels associated with this job. You can use these to organize and group your jobs.
map<string, string> labels = 16;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
The labels associated with this job. You can use these to organize and group your jobs.
map<string, string> labels = 16;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
The labels associated with this job. You can use these to organize and group your jobs.
map<string, string> labels = 16;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
The labels associated with this job. You can use these to organize and group your jobs.
map<string, string> labels = 16;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
String |
getMode()
public Job.ProcessingMode getMode()
The processing mode of the job.
The default is PROCESSING_MODE_INTERACTIVE
.
.google.events.cloud.video.transcoder.v1.Job.ProcessingMode mode = 20;
Returns | |
---|---|
Type | Description |
Job.ProcessingMode |
The mode. |
getModeValue()
public int getModeValue()
The processing mode of the job.
The default is PROCESSING_MODE_INTERACTIVE
.
.google.events.cloud.video.transcoder.v1.Job.ProcessingMode mode = 20;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for mode. |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getName()
public String getName()
The resource name of the job.
Format: projects/{project_number}/locations/{location}/jobs/{job}
string name = 1;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
The resource name of the job.
Format: projects/{project_number}/locations/{location}/jobs/{job}
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getStartTime()
public Timestamp getStartTime()
Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13;
Returns | |
---|---|
Type | Description |
Timestamp |
The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13;
Returns | |
---|---|
Type | Description |
Builder |
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getState()
public Job.ProcessingState getState()
Output only. The current state of the job.
.google.events.cloud.video.transcoder.v1.Job.ProcessingState state = 8;
Returns | |
---|---|
Type | Description |
Job.ProcessingState |
The state. |
getStateValue()
public int getStateValue()
Output only. The current state of the job.
.google.events.cloud.video.transcoder.v1.Job.ProcessingState state = 8;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
getTtlAfterCompletionDays()
public int getTtlAfterCompletionDays()
Job time to live value in days, which will be effective after job completion. Job should be deleted automatically after the given TTL. Enter a value between 1 and 90. The default is 30.
int32 ttl_after_completion_days = 15;
Returns | |
---|---|
Type | Description |
int |
The ttlAfterCompletionDays. |
hasConfig()
public boolean hasConfig()
The configuration for this job.
.google.events.cloud.video.transcoder.v1.JobConfig config = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the config field is set. |
hasCreateTime()
public boolean hasCreateTime()
Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12;
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasEndTime()
public boolean hasEndTime()
Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14;
Returns | |
---|---|
Type | Description |
boolean |
Whether the endTime field is set. |
hasError()
public boolean hasError()
Output only. An error object that describes the reason for the failure.
This property is always present when state
is FAILED
.
.google.rpc.Status error = 17;
Returns | |
---|---|
Type | Description |
boolean |
Whether the error field is set. |
hasStartTime()
public boolean hasStartTime()
Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13;
Returns | |
---|---|
Type | Description |
boolean |
Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeConfig(JobConfig value)
public Job.Builder mergeConfig(JobConfig value)
The configuration for this job.
.google.events.cloud.video.transcoder.v1.JobConfig config = 5;
Parameter | |
---|---|
Name | Description |
value |
JobConfig |
Returns | |
---|---|
Type | Description |
Job.Builder |
mergeCreateTime(Timestamp value)
public Job.Builder mergeCreateTime(Timestamp value)
Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Job.Builder |
mergeEndTime(Timestamp value)
public Job.Builder mergeEndTime(Timestamp value)
Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Job.Builder |
mergeError(Status value)
public Job.Builder mergeError(Status value)
Output only. An error object that describes the reason for the failure.
This property is always present when state
is FAILED
.
.google.rpc.Status error = 17;
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
Job.Builder |
mergeFrom(Job other)
public Job.Builder mergeFrom(Job other)
Parameter | |
---|---|
Name | Description |
other |
Job |
Returns | |
---|---|
Type | Description |
Job.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Job.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Job.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Job.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Job.Builder |
mergeStartTime(Timestamp value)
public Job.Builder mergeStartTime(Timestamp value)
Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Job.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Job.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Job.Builder |
putAllLabels(Map<String,String> values)
public Job.Builder putAllLabels(Map<String,String> values)
The labels associated with this job. You can use these to organize and group your jobs.
map<string, string> labels = 16;
Parameter | |
---|---|
Name | Description |
values |
Map<String,String> |
Returns | |
---|---|
Type | Description |
Job.Builder |
putLabels(String key, String value)
public Job.Builder putLabels(String key, String value)
The labels associated with this job. You can use these to organize and group your jobs.
map<string, string> labels = 16;
Parameters | |
---|---|
Name | Description |
key |
String |
value |
String |
Returns | |
---|---|
Type | Description |
Job.Builder |
removeLabels(String key)
public Job.Builder removeLabels(String key)
The labels associated with this job. You can use these to organize and group your jobs.
map<string, string> labels = 16;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
Job.Builder |
setConfig(JobConfig value)
public Job.Builder setConfig(JobConfig value)
The configuration for this job.
.google.events.cloud.video.transcoder.v1.JobConfig config = 5;
Parameter | |
---|---|
Name | Description |
value |
JobConfig |
Returns | |
---|---|
Type | Description |
Job.Builder |
setConfig(JobConfig.Builder builderForValue)
public Job.Builder setConfig(JobConfig.Builder builderForValue)
The configuration for this job.
.google.events.cloud.video.transcoder.v1.JobConfig config = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
JobConfig.Builder |
Returns | |
---|---|
Type | Description |
Job.Builder |
setCreateTime(Timestamp value)
public Job.Builder setCreateTime(Timestamp value)
Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Job.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Job.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The time the job was created.
.google.protobuf.Timestamp create_time = 12;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Job.Builder |
setEndTime(Timestamp value)
public Job.Builder setEndTime(Timestamp value)
Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Job.Builder |
setEndTime(Timestamp.Builder builderForValue)
public Job.Builder setEndTime(Timestamp.Builder builderForValue)
Output only. The time the transcoding finished.
.google.protobuf.Timestamp end_time = 14;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Job.Builder |
setError(Status value)
public Job.Builder setError(Status value)
Output only. An error object that describes the reason for the failure.
This property is always present when state
is FAILED
.
.google.rpc.Status error = 17;
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.Status |
Returns | |
---|---|
Type | Description |
Job.Builder |
setError(Status.Builder builderForValue)
public Job.Builder setError(Status.Builder builderForValue)
Output only. An error object that describes the reason for the failure.
This property is always present when state
is FAILED
.
.google.rpc.Status error = 17;
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.rpc.Status.Builder |
Returns | |
---|---|
Type | Description |
Job.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Job.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Job.Builder |
setMode(Job.ProcessingMode value)
public Job.Builder setMode(Job.ProcessingMode value)
The processing mode of the job.
The default is PROCESSING_MODE_INTERACTIVE
.
.google.events.cloud.video.transcoder.v1.Job.ProcessingMode mode = 20;
Parameter | |
---|---|
Name | Description |
value |
Job.ProcessingMode The mode to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setModeValue(int value)
public Job.Builder setModeValue(int value)
The processing mode of the job.
The default is PROCESSING_MODE_INTERACTIVE
.
.google.events.cloud.video.transcoder.v1.Job.ProcessingMode mode = 20;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for mode to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setName(String value)
public Job.Builder setName(String value)
The resource name of the job.
Format: projects/{project_number}/locations/{location}/jobs/{job}
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Job.Builder setNameBytes(ByteString value)
The resource name of the job.
Format: projects/{project_number}/locations/{location}/jobs/{job}
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Job.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Job.Builder |
setStartTime(Timestamp value)
public Job.Builder setStartTime(Timestamp value)
Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Job.Builder |
setStartTime(Timestamp.Builder builderForValue)
public Job.Builder setStartTime(Timestamp.Builder builderForValue)
Output only. The time the transcoding started.
.google.protobuf.Timestamp start_time = 13;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Job.Builder |
setState(Job.ProcessingState value)
public Job.Builder setState(Job.ProcessingState value)
Output only. The current state of the job.
.google.events.cloud.video.transcoder.v1.Job.ProcessingState state = 8;
Parameter | |
---|---|
Name | Description |
value |
Job.ProcessingState The state to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setStateValue(int value)
public Job.Builder setStateValue(int value)
Output only. The current state of the job.
.google.events.cloud.video.transcoder.v1.Job.ProcessingState state = 8;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setTtlAfterCompletionDays(int value)
public Job.Builder setTtlAfterCompletionDays(int value)
Job time to live value in days, which will be effective after job completion. Job should be deleted automatically after the given TTL. Enter a value between 1 and 90. The default is 30.
int32 ttl_after_completion_days = 15;
Parameter | |
---|---|
Name | Description |
value |
int The ttlAfterCompletionDays to set. |
Returns | |
---|---|
Type | Description |
Job.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Job.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Job.Builder |