public final class CreateReplayRequest extends GeneratedMessageV3 implements CreateReplayRequestOrBuilder
Request message for
Simulator.CreateReplay.
Protobuf type google.cloud.policysimulator.v1.CreateReplayRequest
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
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CreateReplayRequest.Builder newBuilder()
newBuilder(CreateReplayRequest prototype)
public static CreateReplayRequest.Builder newBuilder(CreateReplayRequest prototype)
public static CreateReplayRequest parseDelimitedFrom(InputStream input)
public static CreateReplayRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CreateReplayRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateReplayRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CreateReplayRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateReplayRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateReplayRequest parseFrom(CodedInputStream input)
public static CreateReplayRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateReplayRequest parseFrom(InputStream input)
public static CreateReplayRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CreateReplayRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateReplayRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CreateReplayRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public CreateReplayRequest getDefaultInstanceForType()
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()
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];
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CreateReplayRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateReplayRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public CreateReplayRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides