public static final class CreateReplayRequest.Builder extends GeneratedMessageV3.Builder<CreateReplayRequest.Builder> implements CreateReplayRequestOrBuilder
Request message for
Simulator.CreateReplay.
Protobuf type google.cloud.policysimulator.v1.CreateReplayRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateReplayRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateReplayRequest build()
buildPartial()
public CreateReplayRequest buildPartial()
clear()
public CreateReplayRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateReplayRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateReplayRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateReplayRequest.Builder clearParent()
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];
clearReplay()
public CreateReplayRequest.Builder clearReplay()
Required. The Replay to create.
Set Replay.ReplayConfig
to configure the replay.
.google.cloud.policysimulator.v1.Replay replay = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public CreateReplayRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateReplayRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
getReplayBuilder()
public Replay.Builder getReplayBuilder()
Required. The Replay to create.
Set Replay.ReplayConfig
to configure the replay.
.google.cloud.policysimulator.v1.Replay replay = 2 [(.google.api.field_behavior) = REQUIRED];
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];
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateReplayRequest other)
public CreateReplayRequest.Builder mergeFrom(CreateReplayRequest other)
public CreateReplayRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateReplayRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeReplay(Replay value)
public CreateReplayRequest.Builder mergeReplay(Replay value)
Required. The Replay to create.
Set Replay.ReplayConfig
to configure the replay.
.google.cloud.policysimulator.v1.Replay replay = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Replay
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateReplayRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateReplayRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateReplayRequest.Builder setParent(String value)
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];
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public CreateReplayRequest.Builder setParentBytes(ByteString value)
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];
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateReplayRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setReplay(Replay value)
public CreateReplayRequest.Builder setReplay(Replay value)
Required. The Replay to create.
Set Replay.ReplayConfig
to configure the replay.
.google.cloud.policysimulator.v1.Replay replay = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Replay
|
setReplay(Replay.Builder builderForValue)
public CreateReplayRequest.Builder setReplay(Replay.Builder builderForValue)
Required. The Replay to create.
Set Replay.ReplayConfig
to configure the replay.
.google.cloud.policysimulator.v1.Replay replay = 2 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateReplayRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides