Interface ReplayOrBuilder (0.8.0)

public interface ReplayOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConfig()

public abstract ReplayConfig getConfig()

Required. The configuration used for the Replay.

.google.cloud.policysimulator.v1.ReplayConfig config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ReplayConfig

The config.

getConfigOrBuilder()

public abstract ReplayConfigOrBuilder getConfigOrBuilder()

Required. The configuration used for the Replay.

.google.cloud.policysimulator.v1.ReplayConfig config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ReplayConfigOrBuilder

getName()

public abstract 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
TypeDescription
String

The name.

getNameBytes()

public abstract 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
TypeDescription
ByteString

The bytes for name.

getResultsSummary()

public abstract 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
TypeDescription
Replay.ResultsSummary

The resultsSummary.

getResultsSummaryOrBuilder()

public abstract 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];

Returns
TypeDescription
Replay.ResultsSummaryOrBuilder

getState()

public abstract 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
TypeDescription
Replay.State

The state.

getStateValue()

public abstract 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
TypeDescription
int

The enum numeric value on the wire for state.

hasConfig()

public abstract boolean hasConfig()

Required. The configuration used for the Replay.

.google.cloud.policysimulator.v1.ReplayConfig config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the config field is set.

hasResultsSummary()

public abstract 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
TypeDescription
boolean

Whether the resultsSummary field is set.