public static final class SessionOperationMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SessionOperationMetadata.Builder> implements SessionOperationMetadataOrBuilder
Metadata describing the Session operation.Protobuf type
google.cloud.dataproc.v1.SessionOperationMetadata| Modifier and Type | Method and Description |
|---|---|
SessionOperationMetadata.Builder |
addAllWarnings(Iterable<String> values)
Warnings encountered during operation execution.
|
SessionOperationMetadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SessionOperationMetadata.Builder |
addWarnings(String value)
Warnings encountered during operation execution.
|
SessionOperationMetadata.Builder |
addWarningsBytes(com.google.protobuf.ByteString value)
Warnings encountered during operation execution.
|
SessionOperationMetadata |
build() |
SessionOperationMetadata |
buildPartial() |
SessionOperationMetadata.Builder |
clear() |
SessionOperationMetadata.Builder |
clearCreateTime()
The time when the operation was created.
|
SessionOperationMetadata.Builder |
clearDescription()
Short description of the operation.
|
SessionOperationMetadata.Builder |
clearDoneTime()
The time when the operation was finished.
|
SessionOperationMetadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SessionOperationMetadata.Builder |
clearLabels() |
SessionOperationMetadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SessionOperationMetadata.Builder |
clearOperationType()
The operation type.
|
SessionOperationMetadata.Builder |
clearSession()
Name of the session for the operation.
|
SessionOperationMetadata.Builder |
clearSessionUuid()
Session UUID for the operation.
|
SessionOperationMetadata.Builder |
clearWarnings()
Warnings encountered during operation execution.
|
SessionOperationMetadata.Builder |
clone() |
boolean |
containsLabels(String key)
Labels associated with the operation.
|
com.google.protobuf.Timestamp |
getCreateTime()
The time when the operation was created.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
The time when the operation was created.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
The time when the operation was created.
|
SessionOperationMetadata |
getDefaultInstanceForType() |
String |
getDescription()
Short description of the operation.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Short description of the operation.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getDoneTime()
The time when the operation was finished.
|
com.google.protobuf.Timestamp.Builder |
getDoneTimeBuilder()
The time when the operation was finished.
|
com.google.protobuf.TimestampOrBuilder |
getDoneTimeOrBuilder()
The time when the operation was finished.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels associated with the operation.
|
Map<String,String> |
getLabelsMap()
Labels associated with the operation.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels associated with the operation.
|
String |
getLabelsOrThrow(String key)
Labels associated with the operation.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
SessionOperationMetadata.SessionOperationType |
getOperationType()
The operation type.
|
int |
getOperationTypeValue()
The operation type.
|
String |
getSession()
Name of the session for the operation.
|
com.google.protobuf.ByteString |
getSessionBytes()
Name of the session for the operation.
|
String |
getSessionUuid()
Session UUID for the operation.
|
com.google.protobuf.ByteString |
getSessionUuidBytes()
Session UUID for the operation.
|
String |
getWarnings(int index)
Warnings encountered during operation execution.
|
com.google.protobuf.ByteString |
getWarningsBytes(int index)
Warnings encountered during operation execution.
|
int |
getWarningsCount()
Warnings encountered during operation execution.
|
com.google.protobuf.ProtocolStringList |
getWarningsList()
Warnings encountered during operation execution.
|
boolean |
hasCreateTime()
The time when the operation was created.
|
boolean |
hasDoneTime()
The time when the operation was finished.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
SessionOperationMetadata.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
The time when the operation was created.
|
SessionOperationMetadata.Builder |
mergeDoneTime(com.google.protobuf.Timestamp value)
The time when the operation was finished.
|
SessionOperationMetadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SessionOperationMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
SessionOperationMetadata.Builder |
mergeFrom(SessionOperationMetadata other) |
SessionOperationMetadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SessionOperationMetadata.Builder |
putAllLabels(Map<String,String> values)
Labels associated with the operation.
|
SessionOperationMetadata.Builder |
putLabels(String key,
String value)
Labels associated with the operation.
|
SessionOperationMetadata.Builder |
removeLabels(String key)
Labels associated with the operation.
|
SessionOperationMetadata.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time when the operation was created.
|
SessionOperationMetadata.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
The time when the operation was created.
|
SessionOperationMetadata.Builder |
setDescription(String value)
Short description of the operation.
|
SessionOperationMetadata.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Short description of the operation.
|
SessionOperationMetadata.Builder |
setDoneTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time when the operation was finished.
|
SessionOperationMetadata.Builder |
setDoneTime(com.google.protobuf.Timestamp value)
The time when the operation was finished.
|
SessionOperationMetadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SessionOperationMetadata.Builder |
setOperationType(SessionOperationMetadata.SessionOperationType value)
The operation type.
|
SessionOperationMetadata.Builder |
setOperationTypeValue(int value)
The operation type.
|
SessionOperationMetadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SessionOperationMetadata.Builder |
setSession(String value)
Name of the session for the operation.
|
SessionOperationMetadata.Builder |
setSessionBytes(com.google.protobuf.ByteString value)
Name of the session for the operation.
|
SessionOperationMetadata.Builder |
setSessionUuid(String value)
Session UUID for the operation.
|
SessionOperationMetadata.Builder |
setSessionUuidBytes(com.google.protobuf.ByteString value)
Session UUID for the operation.
|
SessionOperationMetadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SessionOperationMetadata.Builder |
setWarnings(int index,
String value)
Warnings encountered during operation execution.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<SessionOperationMetadata.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<SessionOperationMetadata.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SessionOperationMetadata.Builder>public SessionOperationMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SessionOperationMetadata.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SessionOperationMetadata.Builder>public SessionOperationMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SessionOperationMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SessionOperationMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SessionOperationMetadata.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SessionOperationMetadata.Builder>public SessionOperationMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SessionOperationMetadata.Builder>public SessionOperationMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SessionOperationMetadata.Builder>public SessionOperationMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SessionOperationMetadata.Builder>public SessionOperationMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SessionOperationMetadata.Builder>public SessionOperationMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SessionOperationMetadata.Builder>public SessionOperationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SessionOperationMetadata.Builder>public SessionOperationMetadata.Builder mergeFrom(SessionOperationMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SessionOperationMetadata.Builder>public SessionOperationMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SessionOperationMetadata.Builder>IOExceptionpublic String getSession()
Name of the session for the operation.
string session = 1;getSession in interface SessionOperationMetadataOrBuilderpublic com.google.protobuf.ByteString getSessionBytes()
Name of the session for the operation.
string session = 1;getSessionBytes in interface SessionOperationMetadataOrBuilderpublic SessionOperationMetadata.Builder setSession(String value)
Name of the session for the operation.
string session = 1;value - The session to set.public SessionOperationMetadata.Builder clearSession()
Name of the session for the operation.
string session = 1;public SessionOperationMetadata.Builder setSessionBytes(com.google.protobuf.ByteString value)
Name of the session for the operation.
string session = 1;value - The bytes for session to set.public String getSessionUuid()
Session UUID for the operation.
string session_uuid = 2;getSessionUuid in interface SessionOperationMetadataOrBuilderpublic com.google.protobuf.ByteString getSessionUuidBytes()
Session UUID for the operation.
string session_uuid = 2;getSessionUuidBytes in interface SessionOperationMetadataOrBuilderpublic SessionOperationMetadata.Builder setSessionUuid(String value)
Session UUID for the operation.
string session_uuid = 2;value - The sessionUuid to set.public SessionOperationMetadata.Builder clearSessionUuid()
Session UUID for the operation.
string session_uuid = 2;public SessionOperationMetadata.Builder setSessionUuidBytes(com.google.protobuf.ByteString value)
Session UUID for the operation.
string session_uuid = 2;value - The bytes for sessionUuid to set.public boolean hasCreateTime()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;hasCreateTime in interface SessionOperationMetadataOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;getCreateTime in interface SessionOperationMetadataOrBuilderpublic SessionOperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp value)
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;public SessionOperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;public SessionOperationMetadata.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;public SessionOperationMetadata.Builder clearCreateTime()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The time when the operation was created.
.google.protobuf.Timestamp create_time = 3;getCreateTimeOrBuilder in interface SessionOperationMetadataOrBuilderpublic boolean hasDoneTime()
The time when the operation was finished.
.google.protobuf.Timestamp done_time = 4;hasDoneTime in interface SessionOperationMetadataOrBuilderpublic com.google.protobuf.Timestamp getDoneTime()
The time when the operation was finished.
.google.protobuf.Timestamp done_time = 4;getDoneTime in interface SessionOperationMetadataOrBuilderpublic SessionOperationMetadata.Builder setDoneTime(com.google.protobuf.Timestamp value)
The time when the operation was finished.
.google.protobuf.Timestamp done_time = 4;public SessionOperationMetadata.Builder setDoneTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time when the operation was finished.
.google.protobuf.Timestamp done_time = 4;public SessionOperationMetadata.Builder mergeDoneTime(com.google.protobuf.Timestamp value)
The time when the operation was finished.
.google.protobuf.Timestamp done_time = 4;public SessionOperationMetadata.Builder clearDoneTime()
The time when the operation was finished.
.google.protobuf.Timestamp done_time = 4;public com.google.protobuf.Timestamp.Builder getDoneTimeBuilder()
The time when the operation was finished.
.google.protobuf.Timestamp done_time = 4;public com.google.protobuf.TimestampOrBuilder getDoneTimeOrBuilder()
The time when the operation was finished.
.google.protobuf.Timestamp done_time = 4;getDoneTimeOrBuilder in interface SessionOperationMetadataOrBuilderpublic int getOperationTypeValue()
The operation type.
.google.cloud.dataproc.v1.SessionOperationMetadata.SessionOperationType operation_type = 6;
getOperationTypeValue in interface SessionOperationMetadataOrBuilderpublic SessionOperationMetadata.Builder setOperationTypeValue(int value)
The operation type.
.google.cloud.dataproc.v1.SessionOperationMetadata.SessionOperationType operation_type = 6;
value - The enum numeric value on the wire for operationType to set.public SessionOperationMetadata.SessionOperationType getOperationType()
The operation type.
.google.cloud.dataproc.v1.SessionOperationMetadata.SessionOperationType operation_type = 6;
getOperationType in interface SessionOperationMetadataOrBuilderpublic SessionOperationMetadata.Builder setOperationType(SessionOperationMetadata.SessionOperationType value)
The operation type.
.google.cloud.dataproc.v1.SessionOperationMetadata.SessionOperationType operation_type = 6;
value - The operationType to set.public SessionOperationMetadata.Builder clearOperationType()
The operation type.
.google.cloud.dataproc.v1.SessionOperationMetadata.SessionOperationType operation_type = 6;
public String getDescription()
Short description of the operation.
string description = 7;getDescription in interface SessionOperationMetadataOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Short description of the operation.
string description = 7;getDescriptionBytes in interface SessionOperationMetadataOrBuilderpublic SessionOperationMetadata.Builder setDescription(String value)
Short description of the operation.
string description = 7;value - The description to set.public SessionOperationMetadata.Builder clearDescription()
Short description of the operation.
string description = 7;public SessionOperationMetadata.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Short description of the operation.
string description = 7;value - The bytes for description to set.public int getLabelsCount()
SessionOperationMetadataOrBuilderLabels associated with the operation.
map<string, string> labels = 8;getLabelsCount in interface SessionOperationMetadataOrBuilderpublic boolean containsLabels(String key)
Labels associated with the operation.
map<string, string> labels = 8;containsLabels in interface SessionOperationMetadataOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface SessionOperationMetadataOrBuilderpublic Map<String,String> getLabelsMap()
Labels associated with the operation.
map<string, string> labels = 8;getLabelsMap in interface SessionOperationMetadataOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels associated with the operation.
map<string, string> labels = 8;getLabelsOrDefault in interface SessionOperationMetadataOrBuilderpublic String getLabelsOrThrow(String key)
Labels associated with the operation.
map<string, string> labels = 8;getLabelsOrThrow in interface SessionOperationMetadataOrBuilderpublic SessionOperationMetadata.Builder clearLabels()
public SessionOperationMetadata.Builder removeLabels(String key)
Labels associated with the operation.
map<string, string> labels = 8;@Deprecated public Map<String,String> getMutableLabels()
public SessionOperationMetadata.Builder putLabels(String key, String value)
Labels associated with the operation.
map<string, string> labels = 8;public SessionOperationMetadata.Builder putAllLabels(Map<String,String> values)
Labels associated with the operation.
map<string, string> labels = 8;public com.google.protobuf.ProtocolStringList getWarningsList()
Warnings encountered during operation execution.
repeated string warnings = 9;getWarningsList in interface SessionOperationMetadataOrBuilderpublic int getWarningsCount()
Warnings encountered during operation execution.
repeated string warnings = 9;getWarningsCount in interface SessionOperationMetadataOrBuilderpublic String getWarnings(int index)
Warnings encountered during operation execution.
repeated string warnings = 9;getWarnings in interface SessionOperationMetadataOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getWarningsBytes(int index)
Warnings encountered during operation execution.
repeated string warnings = 9;getWarningsBytes in interface SessionOperationMetadataOrBuilderindex - The index of the value to return.public SessionOperationMetadata.Builder setWarnings(int index, String value)
Warnings encountered during operation execution.
repeated string warnings = 9;index - The index to set the value at.value - The warnings to set.public SessionOperationMetadata.Builder addWarnings(String value)
Warnings encountered during operation execution.
repeated string warnings = 9;value - The warnings to add.public SessionOperationMetadata.Builder addAllWarnings(Iterable<String> values)
Warnings encountered during operation execution.
repeated string warnings = 9;values - The warnings to add.public SessionOperationMetadata.Builder clearWarnings()
Warnings encountered during operation execution.
repeated string warnings = 9;public SessionOperationMetadata.Builder addWarningsBytes(com.google.protobuf.ByteString value)
Warnings encountered during operation execution.
repeated string warnings = 9;value - The bytes of the warnings to add.public final SessionOperationMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SessionOperationMetadata.Builder>public final SessionOperationMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SessionOperationMetadata.Builder>Copyright © 2024 Google LLC. All rights reserved.