public static final class StateTimeline.Builder extends GeneratedMessageV3.Builder<StateTimeline.Builder> implements StateTimelineOrBuilder
The timeline of the pending states for a resource.
Protobuf type google.cloud.networkconnectivity.v1.StateTimeline
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
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.v1.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.networkconnectivity.v1.StateTimeline.StateMetadata>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StateTimeline.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public StateTimeline.Builder addStates(StateTimeline.StateMetadata value)
Output only. The state and activation time details of the resource state.
repeated .google.cloud.networkconnectivity.v1.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public StateTimeline.Builder addStates(StateTimeline.StateMetadata.Builder builderForValue)
Output only. The state and activation time details of the resource state.
repeated .google.cloud.networkconnectivity.v1.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.v1.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.v1.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addStatesBuilder()
public StateTimeline.StateMetadata.Builder addStatesBuilder()
Output only. The state and activation time details of the resource state.
repeated .google.cloud.networkconnectivity.v1.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
addStatesBuilder(int index)
public StateTimeline.StateMetadata.Builder addStatesBuilder(int index)
Output only. The state and activation time details of the resource state.
repeated .google.cloud.networkconnectivity.v1.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
build()
public StateTimeline build()
buildPartial()
public StateTimeline buildPartial()
clear()
public StateTimeline.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public StateTimeline.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public StateTimeline.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearStates()
public StateTimeline.Builder clearStates()
Output only. The state and activation time details of the resource state.
repeated .google.cloud.networkconnectivity.v1.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
public StateTimeline.Builder clone()
Overrides
getDefaultInstanceForType()
public StateTimeline getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getStates(int index)
public StateTimeline.StateMetadata getStates(int index)
Output only. The state and activation time details of the resource state.
repeated .google.cloud.networkconnectivity.v1.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
getStatesBuilder(int index)
public StateTimeline.StateMetadata.Builder getStatesBuilder(int index)
Output only. The state and activation time details of the resource state.
repeated .google.cloud.networkconnectivity.v1.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
getStatesBuilderList()
public List<StateTimeline.StateMetadata.Builder> getStatesBuilderList()
Output only. The state and activation time details of the resource state.
repeated .google.cloud.networkconnectivity.v1.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatesCount()
public int getStatesCount()
Output only. The state and activation time details of the resource state.
repeated .google.cloud.networkconnectivity.v1.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
|
getStatesList()
public List<StateTimeline.StateMetadata> getStatesList()
Output only. The state and activation time details of the resource state.
repeated .google.cloud.networkconnectivity.v1.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatesOrBuilder(int index)
public StateTimeline.StateMetadataOrBuilder getStatesOrBuilder(int index)
Output only. The state and activation time details of the resource state.
repeated .google.cloud.networkconnectivity.v1.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
getStatesOrBuilderList()
public List<? extends StateTimeline.StateMetadataOrBuilder> getStatesOrBuilderList()
Output only. The state and activation time details of the resource state.
repeated .google.cloud.networkconnectivity.v1.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
List<? extends com.google.cloud.networkconnectivity.v1.StateTimeline.StateMetadataOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(StateTimeline other)
public StateTimeline.Builder mergeFrom(StateTimeline other)
public StateTimeline.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StateTimeline.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StateTimeline.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeStates(int index)
public StateTimeline.Builder removeStates(int index)
Output only. The state and activation time details of the resource state.
repeated .google.cloud.networkconnectivity.v1.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public StateTimeline.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StateTimeline.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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.v1.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.v1.StateTimeline.StateMetadata states = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
setUnknownFields(UnknownFieldSet unknownFields)
public final StateTimeline.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides