public final class SessionOperationMetadata extends GeneratedMessageV3 implements SessionOperationMetadataOrBuilder
Metadata describing the Session operation.
Protobuf type google.cloud.dataproc.v1.SessionOperationMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DONE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int LABELS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int OPERATION_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SESSION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SESSION_UUID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int WARNINGS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static SessionOperationMetadata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static SessionOperationMetadata.Builder newBuilder()
public static SessionOperationMetadata.Builder newBuilder(SessionOperationMetadata prototype)
public static SessionOperationMetadata parseDelimitedFrom(InputStream input)
public static SessionOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SessionOperationMetadata parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static SessionOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SessionOperationMetadata parseFrom(ByteString data)
public static SessionOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SessionOperationMetadata parseFrom(CodedInputStream input)
public static SessionOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SessionOperationMetadata parseFrom(InputStream input)
public static SessionOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SessionOperationMetadata parseFrom(ByteBuffer data)
public static SessionOperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<SessionOperationMetadata> parser()
Methods
public boolean containsLabels(String key)
Labels associated with the operation.
map<string, string> labels = 8;
Parameter |
Name |
Description |
key |
String
|
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public Timestamp getCreateTime()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
Returns |
Type |
Description |
Timestamp |
The createTime.
|
public TimestampOrBuilder getCreateTimeOrBuilder()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;
public SessionOperationMetadata getDefaultInstanceForType()
public String getDescription()
Short description of the operation.
string description = 7;
Returns |
Type |
Description |
String |
The description.
|
public ByteString getDescriptionBytes()
Short description of the operation.
string description = 7;
Returns |
Type |
Description |
ByteString |
The bytes for description.
|
public Timestamp getDoneTime()
The time when the operation was finished.
.google.protobuf.Timestamp done_time = 4;
Returns |
Type |
Description |
Timestamp |
The doneTime.
|
public TimestampOrBuilder getDoneTimeOrBuilder()
The time when the operation was finished.
.google.protobuf.Timestamp done_time = 4;
public Map<String,String> getLabels()
public int getLabelsCount()
Labels associated with the operation.
map<string, string> labels = 8;
Returns |
Type |
Description |
int |
|
public Map<String,String> getLabelsMap()
Labels associated with the operation.
map<string, string> labels = 8;
public String getLabelsOrDefault(String key, String defaultValue)
Labels associated with the operation.
map<string, string> labels = 8;
Returns |
Type |
Description |
String |
|
public String getLabelsOrThrow(String key)
Labels associated with the operation.
map<string, string> labels = 8;
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
public SessionOperationMetadata.SessionOperationType getOperationType()
The operation type.
.google.cloud.dataproc.v1.SessionOperationMetadata.SessionOperationType operation_type = 6;
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.
|
public Parser<SessionOperationMetadata> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public String getSession()
Name of the session for the operation.
string session = 1;
Returns |
Type |
Description |
String |
The session.
|
public ByteString getSessionBytes()
Name of the session for the operation.
string session = 1;
Returns |
Type |
Description |
ByteString |
The bytes for session.
|
public String getSessionUuid()
Session UUID for the operation.
string session_uuid = 2;
Returns |
Type |
Description |
String |
The sessionUuid.
|
public ByteString getSessionUuidBytes()
Session UUID for the operation.
string session_uuid = 2;
Returns |
Type |
Description |
ByteString |
The bytes for sessionUuid.
|
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.
|
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.
|
public int getWarningsCount()
Warnings encountered during operation execution.
repeated string warnings = 9;
Returns |
Type |
Description |
int |
The count of warnings.
|
public ProtocolStringList getWarningsList()
Warnings encountered during operation execution.
repeated string warnings = 9;
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.
|
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.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
public final boolean isInitialized()
Overrides
public SessionOperationMetadata.Builder newBuilderForType()
protected SessionOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public SessionOperationMetadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides