public static final class Session.SessionStateHistory.Builder extends GeneratedMessageV3.Builder<Session.SessionStateHistory.Builder> implements Session.SessionStateHistoryOrBuilder
Historical state information.
Protobuf type google.cloud.dataproc.v1.Session.SessionStateHistory
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Session.SessionStateHistory.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Session.SessionStateHistory build()
buildPartial()
public Session.SessionStateHistory buildPartial()
clear()
public Session.SessionStateHistory.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Session.SessionStateHistory.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Session.SessionStateHistory.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearState()
public Session.SessionStateHistory.Builder clearState()
Output only. The state of the session at this point in the session
history.
.google.cloud.dataproc.v1.Session.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearStateMessage()
public Session.SessionStateHistory.Builder clearStateMessage()
Output only. Details about the state at this point in the session
history.
string state_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearStateStartTime()
public Session.SessionStateHistory.Builder clearStateStartTime()
Output only. The time when the session entered the historical state.
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
public Session.SessionStateHistory.Builder clone()
Overrides
getDefaultInstanceForType()
public Session.SessionStateHistory getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getState()
public Session.State getState()
Output only. The state of the session at this point in the session
history.
.google.cloud.dataproc.v1.Session.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateMessage()
public String getStateMessage()
Output only. Details about the state at this point in the session
history.
string state_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The stateMessage.
|
getStateMessageBytes()
public ByteString getStateMessageBytes()
Output only. Details about the state at this point in the session
history.
string state_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for stateMessage.
|
getStateStartTime()
public Timestamp getStateStartTime()
Output only. The time when the session entered the historical state.
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
Timestamp | The stateStartTime.
|
getStateStartTimeBuilder()
public Timestamp.Builder getStateStartTimeBuilder()
Output only. The time when the session entered the historical state.
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateStartTimeOrBuilder()
public TimestampOrBuilder getStateStartTimeOrBuilder()
Output only. The time when the session entered the historical state.
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue()
public int getStateValue()
Output only. The state of the session at this point in the session
history.
.google.cloud.dataproc.v1.Session.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for state.
|
hasStateStartTime()
public boolean hasStateStartTime()
Output only. The time when the session entered the historical state.
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the stateStartTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Session.SessionStateHistory other)
public Session.SessionStateHistory.Builder mergeFrom(Session.SessionStateHistory other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Session.SessionStateHistory.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Session.SessionStateHistory.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeStateStartTime(Timestamp value)
public Session.SessionStateHistory.Builder mergeStateStartTime(Timestamp value)
Output only. The time when the session entered the historical state.
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Session.SessionStateHistory.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Session.SessionStateHistory.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Session.SessionStateHistory.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setState(Session.State value)
public Session.SessionStateHistory.Builder setState(Session.State value)
Output only. The state of the session at this point in the session
history.
.google.cloud.dataproc.v1.Session.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
setStateMessage(String value)
public Session.SessionStateHistory.Builder setStateMessage(String value)
Output only. Details about the state at this point in the session
history.
string state_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
value | String
The stateMessage to set.
|
setStateMessageBytes(ByteString value)
public Session.SessionStateHistory.Builder setStateMessageBytes(ByteString value)
Output only. Details about the state at this point in the session
history.
string state_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for stateMessage to set.
|
setStateStartTime(Timestamp value)
public Session.SessionStateHistory.Builder setStateStartTime(Timestamp value)
Output only. The time when the session entered the historical state.
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
setStateStartTime(Timestamp.Builder builderForValue)
public Session.SessionStateHistory.Builder setStateStartTime(Timestamp.Builder builderForValue)
Output only. The time when the session entered the historical state.
.google.protobuf.Timestamp state_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
builderForValue | Builder
|
setStateValue(int value)
public Session.SessionStateHistory.Builder setStateValue(int value)
Output only. The state of the session at this point in the session
history.
.google.cloud.dataproc.v1.Session.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for state to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Session.SessionStateHistory.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides