Interface StateTimeline.StateMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StateTimeline.StateMetadata,StateTimeline.StateMetadata.Builder
- Enclosing class:
- StateTimeline
public static interface StateTimeline.StateMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getState()Output only.intOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getStateValue
int getStateValue()Output only. The state of the resource.
.google.cloud.networkconnectivity.v1beta.StateTimeline.StateMetadata.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
StateTimeline.StateMetadata.State getState()Output only. The state of the resource.
.google.cloud.networkconnectivity.v1beta.StateTimeline.StateMetadata.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-
hasEffectiveTime
boolean hasEffectiveTime()Output only. Accompanies only the transient states, which include `ADDING`, `DELETING`, and `SUSPENDING`, to denote the time until which the transient state of the resource will be effective. For instance, if the state is `ADDING`, this field shows the time when the resource state transitions to `ACTIVE`.
.google.protobuf.Timestamp effective_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the effectiveTime field is set.
-
getEffectiveTime
com.google.protobuf.Timestamp getEffectiveTime()Output only. Accompanies only the transient states, which include `ADDING`, `DELETING`, and `SUSPENDING`, to denote the time until which the transient state of the resource will be effective. For instance, if the state is `ADDING`, this field shows the time when the resource state transitions to `ACTIVE`.
.google.protobuf.Timestamp effective_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The effectiveTime.
-
getEffectiveTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEffectiveTimeOrBuilder()Output only. Accompanies only the transient states, which include `ADDING`, `DELETING`, and `SUSPENDING`, to denote the time until which the transient state of the resource will be effective. For instance, if the state is `ADDING`, this field shows the time when the resource state transitions to `ACTIVE`.
.google.protobuf.Timestamp effective_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-