public final class Replay extends GeneratedMessageV3 implements ReplayOrBuilder
A resource describing a Replay
, or simulation.
Protobuf type google.cloud.policysimulator.v1.Replay
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
CONFIG_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
RESULTS_SUMMARY_FIELD_NUMBER
public static final int RESULTS_SUMMARY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Replay getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Replay.Builder newBuilder()
newBuilder(Replay prototype)
public static Replay.Builder newBuilder(Replay prototype)
Parameter |
---|
Name | Description |
prototype | Replay
|
public static Replay parseDelimitedFrom(InputStream input)
public static Replay parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Replay parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Replay parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Replay parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Replay parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Replay parseFrom(CodedInputStream input)
public static Replay parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Replay parseFrom(InputStream input)
public static Replay parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Replay parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Replay parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Replay> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getConfig()
public ReplayConfig getConfig()
Required. The configuration used for the Replay
.
.google.cloud.policysimulator.v1.ReplayConfig config = 3 [(.google.api.field_behavior) = REQUIRED];
getConfigOrBuilder()
public ReplayConfigOrBuilder getConfigOrBuilder()
Required. The configuration used for the Replay
.
.google.cloud.policysimulator.v1.ReplayConfig config = 3 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public Replay getDefaultInstanceForType()
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 |
---|
Type | Description |
String | The name.
|
getNameBytes()
public 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 |
---|
Type | Description |
ByteString | The bytes for name.
|
getParserForType()
public Parser<Replay> getParserForType()
Overrides
getResultsSummary()
public 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];
getResultsSummaryOrBuilder()
public 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];
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getState()
public 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];
getStateValue()
public 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 |
---|
Type | Description |
int | The enum numeric value on the wire for state.
|
hasConfig()
public boolean hasConfig()
Required. The configuration used for the Replay
.
.google.cloud.policysimulator.v1.ReplayConfig config = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the config field is set.
|
hasResultsSummary()
public 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 |
---|
Type | Description |
boolean | Whether the resultsSummary field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Replay.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Replay.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Replay.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides