Class StateTimeline.StateMetadata

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.networkconnectivity.v1beta.StateTimeline.StateMetadata
All Implemented Interfaces:
StateTimeline.StateMetadataOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
StateTimeline

public static final class StateTimeline.StateMetadata extends com.google.protobuf.GeneratedMessage implements StateTimeline.StateMetadataOrBuilder
 The state and activation time details of the resource state.
 
Protobuf type google.cloud.networkconnectivity.v1beta.StateTimeline.StateMetadata
See Also:
  • Field Details

    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • EFFECTIVE_TIME_FIELD_NUMBER

      public static final int EFFECTIVE_TIME_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getStateValue

      public int getStateValue()
       Output only. The state of the resource.
       
      .google.cloud.networkconnectivity.v1beta.StateTimeline.StateMetadata.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface StateTimeline.StateMetadataOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

       Output only. The state of the resource.
       
      .google.cloud.networkconnectivity.v1beta.StateTimeline.StateMetadata.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface StateTimeline.StateMetadataOrBuilder
      Returns:
      The state.
    • hasEffectiveTime

      public 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];
      Specified by:
      hasEffectiveTime in interface StateTimeline.StateMetadataOrBuilder
      Returns:
      Whether the effectiveTime field is set.
    • getEffectiveTime

      public 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];
      Specified by:
      getEffectiveTime in interface StateTimeline.StateMetadataOrBuilder
      Returns:
      The effectiveTime.
    • getEffectiveTimeOrBuilder

      public 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];
      Specified by:
      getEffectiveTimeOrBuilder in interface StateTimeline.StateMetadataOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static StateTimeline.StateMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StateTimeline.StateMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StateTimeline.StateMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StateTimeline.StateMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StateTimeline.StateMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StateTimeline.StateMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static StateTimeline.StateMetadata parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StateTimeline.StateMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static StateTimeline.StateMetadata parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static StateTimeline.StateMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StateTimeline.StateMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static StateTimeline.StateMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public StateTimeline.StateMetadata.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static StateTimeline.StateMetadata.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected StateTimeline.StateMetadata.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static StateTimeline.StateMetadata getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<StateTimeline.StateMetadata> parser()
    • getParserForType

      public com.google.protobuf.Parser<StateTimeline.StateMetadata> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public StateTimeline.StateMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder