Interface JobOrBuilder (0.14.1)

public interface JobOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract 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
NameDescription
keyString
Returns
TypeDescription
boolean

getConfig()

public abstract JobConfig getConfig()

The configuration for this job.

.google.events.cloud.video.transcoder.v1.JobConfig config = 5;

Returns
TypeDescription
JobConfig

The config.

getConfigOrBuilder()

public abstract JobConfigOrBuilder getConfigOrBuilder()

The configuration for this job.

.google.events.cloud.video.transcoder.v1.JobConfig config = 5;

Returns
TypeDescription
JobConfigOrBuilder

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The time the job was created.

.google.protobuf.Timestamp create_time = 12;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time the job was created.

.google.protobuf.Timestamp create_time = 12;

Returns
TypeDescription
TimestampOrBuilder

getEndTime()

public abstract Timestamp getEndTime()

Output only. The time the transcoding finished.

.google.protobuf.Timestamp end_time = 14;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeOrBuilder()

public abstract TimestampOrBuilder getEndTimeOrBuilder()

Output only. The time the transcoding finished.

.google.protobuf.Timestamp end_time = 14;

Returns
TypeDescription
TimestampOrBuilder

getError()

public abstract 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
TypeDescription
com.google.rpc.Status

The error.

getErrorOrBuilder()

public abstract 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
TypeDescription
com.google.rpc.StatusOrBuilder

getJobConfigCase()

public abstract Job.JobConfigCase getJobConfigCase()
Returns
TypeDescription
Job.JobConfigCase

getLabels()

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

The labels associated with this job. You can use these to organize and group your jobs.

map<string, string> labels = 16;

Returns
TypeDescription
int

getLabelsMap()

public abstract 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
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract 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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public abstract 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
NameDescription
keyString
Returns
TypeDescription
String

getMode()

public abstract 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
TypeDescription
Job.ProcessingMode

The mode.

getModeValue()

public abstract 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
TypeDescription
int

The enum numeric value on the wire for mode.

getName()

public abstract String getName()

The resource name of the job. Format: projects/{project_number}/locations/{location}/jobs/{job}

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The resource name of the job. Format: projects/{project_number}/locations/{location}/jobs/{job}

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getStartTime()

public abstract Timestamp getStartTime()

Output only. The time the transcoding started.

.google.protobuf.Timestamp start_time = 13;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeOrBuilder()

public abstract TimestampOrBuilder getStartTimeOrBuilder()

Output only. The time the transcoding started.

.google.protobuf.Timestamp start_time = 13;

Returns
TypeDescription
TimestampOrBuilder

getState()

public abstract Job.ProcessingState getState()

Output only. The current state of the job.

.google.events.cloud.video.transcoder.v1.Job.ProcessingState state = 8;

Returns
TypeDescription
Job.ProcessingState

The state.

getStateValue()

public abstract int getStateValue()

Output only. The current state of the job.

.google.events.cloud.video.transcoder.v1.Job.ProcessingState state = 8;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getTtlAfterCompletionDays()

public abstract 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
TypeDescription
int

The ttlAfterCompletionDays.

hasConfig()

public abstract boolean hasConfig()

The configuration for this job.

.google.events.cloud.video.transcoder.v1.JobConfig config = 5;

Returns
TypeDescription
boolean

Whether the config field is set.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The time the job was created.

.google.protobuf.Timestamp create_time = 12;

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasEndTime()

public abstract boolean hasEndTime()

Output only. The time the transcoding finished.

.google.protobuf.Timestamp end_time = 14;

Returns
TypeDescription
boolean

Whether the endTime field is set.

hasError()

public abstract 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
TypeDescription
boolean

Whether the error field is set.

hasStartTime()

public abstract boolean hasStartTime()

Output only. The time the transcoding started.

.google.protobuf.Timestamp start_time = 13;

Returns
TypeDescription
boolean

Whether the startTime field is set.