Interface ReplayOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Replay
,Replay.Builder
public interface ReplayOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReplayConfig
getConfig()
Required.ReplayConfigOrBuilder
getConfigOrBuilder()
Required.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.Replay.ResultsSummary
getResultsSummary()
Output only.Replay.ResultsSummaryOrBuilder
getResultsSummaryOrBuilder()
Output only.Replay.State
getState()
Output only.int
getStateValue()
Output only.boolean
hasConfig()
Required.boolean
hasResultsSummary()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Output only. The resource name of the `Replay`, which has the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the Replay. Example: `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the `Replay`, which has the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the Replay. Example: `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for name.
-
getStateValue
int getStateValue()
Output only. The current state of the `Replay`.
.google.cloud.policysimulator.v1.Replay.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The enum numeric value on the wire for state.
-
getState
Replay.State getState()
Output only. The current state of the `Replay`.
.google.cloud.policysimulator.v1.Replay.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The state.
-
hasConfig
boolean hasConfig()
Required. The configuration used for the `Replay`.
.google.cloud.policysimulator.v1.ReplayConfig config = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the config field is set.
-
getConfig
ReplayConfig getConfig()
Required. The configuration used for the `Replay`.
.google.cloud.policysimulator.v1.ReplayConfig config = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The config.
-
getConfigOrBuilder
ReplayConfigOrBuilder getConfigOrBuilder()
Required. The configuration used for the `Replay`.
.google.cloud.policysimulator.v1.ReplayConfig config = 3 [(.google.api.field_behavior) = REQUIRED];
-
hasResultsSummary
boolean hasResultsSummary()
Output only. Summary statistics about the replayed log entries.
.google.cloud.policysimulator.v1.Replay.ResultsSummary results_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the resultsSummary field is set.
-
getResultsSummary
Replay.ResultsSummary getResultsSummary()
Output only. Summary statistics about the replayed log entries.
.google.cloud.policysimulator.v1.Replay.ResultsSummary results_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The resultsSummary.
-
getResultsSummaryOrBuilder
Replay.ResultsSummaryOrBuilder getResultsSummaryOrBuilder()
Output only. Summary statistics about the replayed log entries.
.google.cloud.policysimulator.v1.Replay.ResultsSummary results_summary = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
-