Class CreateReplayRequest (0.32.0)

public final class CreateReplayRequest extends GeneratedMessageV3 implements CreateReplayRequestOrBuilder

Request message for Simulator.CreateReplay.

Protobuf type google.cloud.policysimulator.v1.CreateReplayRequest

Static Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

REPLAY_FIELD_NUMBER

public static final int REPLAY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CreateReplayRequest getDefaultInstance()
Returns
Type Description
CreateReplayRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CreateReplayRequest.Builder newBuilder()
Returns
Type Description
CreateReplayRequest.Builder

newBuilder(CreateReplayRequest prototype)

public static CreateReplayRequest.Builder newBuilder(CreateReplayRequest prototype)
Parameter
Name Description
prototype CreateReplayRequest
Returns
Type Description
CreateReplayRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateReplayRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateReplayRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateReplayRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateReplayRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CreateReplayRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CreateReplayRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateReplayRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateReplayRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateReplayRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CreateReplayRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateReplayRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateReplayRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateReplayRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CreateReplayRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateReplayRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateReplayRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CreateReplayRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateReplayRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateReplayRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateReplayRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CreateReplayRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CreateReplayRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateReplayRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateReplayRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CreateReplayRequest> parser()
Returns
Type Description
Parser<CreateReplayRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CreateReplayRequest getDefaultInstanceForType()
Returns
Type Description
CreateReplayRequest

getParent()

public String getParent()

Required. The parent resource where this Replay will be created. This resource must be a project, folder, or organization with a location.

Example: projects/my-example-project/locations/global

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource where this Replay will be created. This resource must be a project, folder, or organization with a location.

Example: projects/my-example-project/locations/global

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

public Parser<CreateReplayRequest> getParserForType()
Returns
Type Description
Parser<CreateReplayRequest>
Overrides

getReplay()

public Replay getReplay()

Required. The Replay to create. Set Replay.ReplayConfig to configure the replay.

.google.cloud.policysimulator.v1.Replay replay = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Replay

The replay.

getReplayOrBuilder()

public ReplayOrBuilder getReplayOrBuilder()

Required. The Replay to create. Set Replay.ReplayConfig to configure the replay.

.google.cloud.policysimulator.v1.Replay replay = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReplayOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasReplay()

public boolean hasReplay()

Required. The Replay to create. Set Replay.ReplayConfig to configure the replay.

.google.cloud.policysimulator.v1.Replay replay = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the replay field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CreateReplayRequest.Builder newBuilderForType()
Returns
Type Description
CreateReplayRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateReplayRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CreateReplayRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CreateReplayRequest.Builder toBuilder()
Returns
Type Description
CreateReplayRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException