Send feedback
Class Replay (0.35.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.35.0 keyboard_arrow_down
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>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 ()
Returns
Type
Description
Replay
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 )
Returns
Type
Description
Replay
public static Replay parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Replay
parseFrom(byte[] data)
public static Replay parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
Returns
Type
Description
Replay
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Replay parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Replay
parseFrom(ByteString data)
public static Replay parseFrom ( ByteString data )
Returns
Type
Description
Replay
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Replay parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Replay
public static Replay parseFrom ( CodedInputStream input )
Returns
Type
Description
Replay
public static Replay parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Replay
public static Replay parseFrom ( InputStream input )
Returns
Type
Description
Replay
public static Replay parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Replay
parseFrom(ByteBuffer data)
public static Replay parseFrom ( ByteBuffer data )
Returns
Type
Description
Replay
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Replay parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Replay
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 ()
Returns
Type
Description
Replay
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 )
Returns
Type
Description
Object
Overrides
toBuilder()
public Replay . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-04 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-04 UTC."],[],[]]