Class StateTimeline.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StateTimeline.Builder>
com.google.cloud.networkconnectivity.v1beta.StateTimeline.Builder
All Implemented Interfaces:
StateTimelineOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
StateTimeline

public static final class StateTimeline.Builder extends com.google.protobuf.GeneratedMessage.Builder<StateTimeline.Builder> implements StateTimelineOrBuilder
 The timeline of the pending states for a resource.
 
Protobuf type google.cloud.networkconnectivity.v1beta.StateTimeline
  • 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.Builder<StateTimeline.Builder>
    • clear

      public StateTimeline.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<StateTimeline.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<StateTimeline.Builder>
    • getDefaultInstanceForType

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

      public StateTimeline build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public StateTimeline buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public StateTimeline.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StateTimeline.Builder>
    • mergeFrom

      public StateTimeline.Builder mergeFrom(StateTimeline other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<StateTimeline.Builder>
    • mergeFrom

      public StateTimeline.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<StateTimeline.Builder>
      Throws:
      IOException
    • getStatesList

      public List<StateTimeline.StateMetadata> getStatesList()
       Output only. The state and activation time details of the resource state.
       
      repeated .google.cloud.networkconnectivity.v1beta.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatesList in interface StateTimelineOrBuilder
    • getStatesCount

      public int getStatesCount()
       Output only. The state and activation time details of the resource state.
       
      repeated .google.cloud.networkconnectivity.v1beta.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatesCount in interface StateTimelineOrBuilder
    • getStates

      public StateTimeline.StateMetadata getStates(int index)
       Output only. The state and activation time details of the resource state.
       
      repeated .google.cloud.networkconnectivity.v1beta.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStates in interface StateTimelineOrBuilder
    • setStates

      public StateTimeline.Builder setStates(int index, StateTimeline.StateMetadata value)
       Output only. The state and activation time details of the resource state.
       
      repeated .google.cloud.networkconnectivity.v1beta.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setStates

      public StateTimeline.Builder setStates(int index, StateTimeline.StateMetadata.Builder builderForValue)
       Output only. The state and activation time details of the resource state.
       
      repeated .google.cloud.networkconnectivity.v1beta.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addStates

       Output only. The state and activation time details of the resource state.
       
      repeated .google.cloud.networkconnectivity.v1beta.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addStates

      public StateTimeline.Builder addStates(int index, StateTimeline.StateMetadata value)
       Output only. The state and activation time details of the resource state.
       
      repeated .google.cloud.networkconnectivity.v1beta.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addStates

      public StateTimeline.Builder addStates(StateTimeline.StateMetadata.Builder builderForValue)
       Output only. The state and activation time details of the resource state.
       
      repeated .google.cloud.networkconnectivity.v1beta.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addStates

      public StateTimeline.Builder addStates(int index, StateTimeline.StateMetadata.Builder builderForValue)
       Output only. The state and activation time details of the resource state.
       
      repeated .google.cloud.networkconnectivity.v1beta.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllStates

      public StateTimeline.Builder addAllStates(Iterable<? extends StateTimeline.StateMetadata> values)
       Output only. The state and activation time details of the resource state.
       
      repeated .google.cloud.networkconnectivity.v1beta.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearStates

      public StateTimeline.Builder clearStates()
       Output only. The state and activation time details of the resource state.
       
      repeated .google.cloud.networkconnectivity.v1beta.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeStates

      public StateTimeline.Builder removeStates(int index)
       Output only. The state and activation time details of the resource state.
       
      repeated .google.cloud.networkconnectivity.v1beta.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStatesBuilder

      public StateTimeline.StateMetadata.Builder getStatesBuilder(int index)
       Output only. The state and activation time details of the resource state.
       
      repeated .google.cloud.networkconnectivity.v1beta.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStatesOrBuilder

      public StateTimeline.StateMetadataOrBuilder getStatesOrBuilder(int index)
       Output only. The state and activation time details of the resource state.
       
      repeated .google.cloud.networkconnectivity.v1beta.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatesOrBuilder in interface StateTimelineOrBuilder
    • getStatesOrBuilderList

      public List<? extends StateTimeline.StateMetadataOrBuilder> getStatesOrBuilderList()
       Output only. The state and activation time details of the resource state.
       
      repeated .google.cloud.networkconnectivity.v1beta.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatesOrBuilderList in interface StateTimelineOrBuilder
    • addStatesBuilder

      public StateTimeline.StateMetadata.Builder addStatesBuilder()
       Output only. The state and activation time details of the resource state.
       
      repeated .google.cloud.networkconnectivity.v1beta.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addStatesBuilder

      public StateTimeline.StateMetadata.Builder addStatesBuilder(int index)
       Output only. The state and activation time details of the resource state.
       
      repeated .google.cloud.networkconnectivity.v1beta.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStatesBuilderList

      public List<StateTimeline.StateMetadata.Builder> getStatesBuilderList()
       Output only. The state and activation time details of the resource state.
       
      repeated .google.cloud.networkconnectivity.v1beta.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];