Class SessionOperationMetadata (4.41.0)

public final class SessionOperationMetadata extends GeneratedMessageV3 implements SessionOperationMetadataOrBuilder

Metadata describing the Session operation.

Protobuf type google.cloud.dataproc.v1.SessionOperationMetadata

Static Fields

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

DONE_TIME_FIELD_NUMBER

public static final int DONE_TIME_FIELD_NUMBER
Field Value
Type Description
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
Type Description
int

OPERATION_TYPE_FIELD_NUMBER

public static final int OPERATION_TYPE_FIELD_NUMBER
Field Value
Type Description
int

SESSION_FIELD_NUMBER

public static final int SESSION_FIELD_NUMBER
Field Value
Type Description
int

SESSION_UUID_FIELD_NUMBER

public static final int SESSION_UUID_FIELD_NUMBER
Field Value
Type Description
int

WARNINGS_FIELD_NUMBER

public static final int WARNINGS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SessionOperationMetadata getDefaultInstance()
Returns
Type Description
SessionOperationMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SessionOperationMetadata.Builder newBuilder()
Returns
Type Description
SessionOperationMetadata.Builder

newBuilder(SessionOperationMetadata prototype)

public static SessionOperationMetadata.Builder newBuilder(SessionOperationMetadata prototype)
Parameter
Name Description
prototype SessionOperationMetadata
Returns
Type Description
SessionOperationMetadata.Builder

parseDelimitedFrom(InputStream input)

public static SessionOperationMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SessionOperationMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SessionOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SessionOperationMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SessionOperationMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SessionOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SessionOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SessionOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SessionOperationMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SessionOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SessionOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SessionOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SessionOperationMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SessionOperationMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SessionOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SessionOperationMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SessionOperationMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SessionOperationMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SessionOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SessionOperationMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SessionOperationMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SessionOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SessionOperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SessionOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SessionOperationMetadata> parser()
Returns
Type Description
Parser<SessionOperationMetadata>

Methods

containsLabels(String key)

public boolean containsLabels(String key)

Labels associated with the operation.

map<string, string> labels = 8;

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCreateTime()

public Timestamp getCreateTime()

The time when the operation was created.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

The time when the operation was created.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public SessionOperationMetadata getDefaultInstanceForType()
Returns
Type Description
SessionOperationMetadata

getDescription()

public String getDescription()

Short description of the operation.

string description = 7;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Short description of the operation.

string description = 7;

Returns
Type Description
ByteString

The bytes for description.

getDoneTime()

public Timestamp getDoneTime()

The time when the operation was finished.

.google.protobuf.Timestamp done_time = 4;

Returns
Type Description
Timestamp

The doneTime.

getDoneTimeOrBuilder()

public TimestampOrBuilder getDoneTimeOrBuilder()

The time when the operation was finished.

.google.protobuf.Timestamp done_time = 4;

Returns
Type Description
TimestampOrBuilder

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Labels associated with the operation.

map<string, string> labels = 8;

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Labels associated with the operation.

map<string, string> labels = 8;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Labels associated with the operation.

map<string, string> labels = 8;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Labels associated with the operation.

map<string, string> labels = 8;

Parameter
Name Description
key String
Returns
Type Description
String

getOperationType()

public SessionOperationMetadata.SessionOperationType getOperationType()

The operation type.

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

Returns
Type Description
SessionOperationMetadata.SessionOperationType

The operationType.

getOperationTypeValue()

public int getOperationTypeValue()

The operation type.

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

Returns
Type Description
int

The enum numeric value on the wire for operationType.

getParserForType()

public Parser<SessionOperationMetadata> getParserForType()
Returns
Type Description
Parser<SessionOperationMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSession()

public String getSession()

Name of the session for the operation.

string session = 1;

Returns
Type Description
String

The session.

getSessionBytes()

public ByteString getSessionBytes()

Name of the session for the operation.

string session = 1;

Returns
Type Description
ByteString

The bytes for session.

getSessionUuid()

public String getSessionUuid()

Session UUID for the operation.

string session_uuid = 2;

Returns
Type Description
String

The sessionUuid.

getSessionUuidBytes()

public ByteString getSessionUuidBytes()

Session UUID for the operation.

string session_uuid = 2;

Returns
Type Description
ByteString

The bytes for sessionUuid.

getWarnings(int index)

public String getWarnings(int index)

Warnings encountered during operation execution.

repeated string warnings = 9;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The warnings at the given index.

getWarningsBytes(int index)

public ByteString getWarningsBytes(int index)

Warnings encountered during operation execution.

repeated string warnings = 9;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the warnings at the given index.

getWarningsCount()

public int getWarningsCount()

Warnings encountered during operation execution.

repeated string warnings = 9;

Returns
Type Description
int

The count of warnings.

getWarningsList()

public ProtocolStringList getWarningsList()

Warnings encountered during operation execution.

repeated string warnings = 9;

Returns
Type Description
ProtocolStringList

A list containing the warnings.

hasCreateTime()

public boolean hasCreateTime()

The time when the operation was created.

.google.protobuf.Timestamp create_time = 3;

Returns
Type Description
boolean

Whether the createTime field is set.

hasDoneTime()

public boolean hasDoneTime()

The time when the operation was finished.

.google.protobuf.Timestamp done_time = 4;

Returns
Type Description
boolean

Whether the doneTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SessionOperationMetadata.Builder newBuilderForType()
Returns
Type Description
SessionOperationMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SessionOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SessionOperationMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SessionOperationMetadata.Builder toBuilder()
Returns
Type Description
SessionOperationMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException