Interface SessionOperationMetadataOrBuilder (4.37.0)

public interface SessionOperationMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Labels associated with the operation.

map<string, string> labels = 8;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getCreateTime()

public abstract Timestamp getCreateTime()

The time when the operation was created.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

The time when the operation was created.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getDescription()

public abstract String getDescription()

Short description of the operation.

string description = 7;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Short description of the operation.

string description = 7;

Returns
TypeDescription
ByteString

The bytes for description.

getDoneTime()

public abstract Timestamp getDoneTime()

The time when the operation was finished.

.google.protobuf.Timestamp done_time = 4;

Returns
TypeDescription
Timestamp

The doneTime.

getDoneTimeOrBuilder()

public abstract TimestampOrBuilder getDoneTimeOrBuilder()

The time when the operation was finished.

.google.protobuf.Timestamp done_time = 4;

Returns
TypeDescription
TimestampOrBuilder

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Labels associated with the operation.

map<string, string> labels = 8;

Returns
TypeDescription
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Labels associated with the operation.

map<string, string> labels = 8;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Labels associated with the operation.

map<string, string> labels = 8;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Labels associated with the operation.

map<string, string> labels = 8;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getOperationType()

public abstract SessionOperationMetadata.SessionOperationType getOperationType()

The operation type.

.google.cloud.dataproc.v1.SessionOperationMetadata.SessionOperationType operation_type = 6;

Returns
TypeDescription
SessionOperationMetadata.SessionOperationType

The operationType.

getOperationTypeValue()

public abstract int getOperationTypeValue()

The operation type.

.google.cloud.dataproc.v1.SessionOperationMetadata.SessionOperationType operation_type = 6;

Returns
TypeDescription
int

The enum numeric value on the wire for operationType.

getSession()

public abstract String getSession()

Name of the session for the operation.

string session = 1;

Returns
TypeDescription
String

The session.

getSessionBytes()

public abstract ByteString getSessionBytes()

Name of the session for the operation.

string session = 1;

Returns
TypeDescription
ByteString

The bytes for session.

getSessionUuid()

public abstract String getSessionUuid()

Session UUID for the operation.

string session_uuid = 2;

Returns
TypeDescription
String

The sessionUuid.

getSessionUuidBytes()

public abstract ByteString getSessionUuidBytes()

Session UUID for the operation.

string session_uuid = 2;

Returns
TypeDescription
ByteString

The bytes for sessionUuid.

getWarnings(int index)

public abstract String getWarnings(int index)

Warnings encountered during operation execution.

repeated string warnings = 9;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The warnings at the given index.

getWarningsBytes(int index)

public abstract ByteString getWarningsBytes(int index)

Warnings encountered during operation execution.

repeated string warnings = 9;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the warnings at the given index.

getWarningsCount()

public abstract int getWarningsCount()

Warnings encountered during operation execution.

repeated string warnings = 9;

Returns
TypeDescription
int

The count of warnings.

getWarningsList()

public abstract List<String> getWarningsList()

Warnings encountered during operation execution.

repeated string warnings = 9;

Returns
TypeDescription
List<String>

A list containing the warnings.

hasCreateTime()

public abstract boolean hasCreateTime()

The time when the operation was created.

.google.protobuf.Timestamp create_time = 3;

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasDoneTime()

public abstract boolean hasDoneTime()

The time when the operation was finished.

.google.protobuf.Timestamp done_time = 4;

Returns
TypeDescription
boolean

Whether the doneTime field is set.