public static final class GetSimulationRequest.Builder extends GeneratedMessage.Builder<GetSimulationRequest.Builder> implements GetSimulationRequestOrBuilderRequest message for getting simulation. Simulation name can include "latest" to retrieve the latest simulation For example, "organizations/123/simulations/latest"
Protobuf type google.cloud.securitycenter.v2.GetSimulationRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetSimulationRequest.BuilderImplements
GetSimulationRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetSimulationRequest build()| Returns | |
|---|---|
| Type | Description |
GetSimulationRequest |
|
buildPartial()
public GetSimulationRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetSimulationRequest |
|
clear()
public GetSimulationRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetSimulationRequest.Builder |
|
clearName()
public GetSimulationRequest.Builder clearName()Required. The organization name or simulation name of this simulation
Valid format:
organizations/{organization}/simulations/latest
organizations/{organization}/simulations/{simulation}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
GetSimulationRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetSimulationRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetSimulationRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. The organization name or simulation name of this simulation
Valid format:
organizations/{organization}/simulations/latest
organizations/{organization}/simulations/{simulation}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The organization name or simulation name of this simulation
Valid format:
organizations/{organization}/simulations/latest
organizations/{organization}/simulations/{simulation}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetSimulationRequest other)
public GetSimulationRequest.Builder mergeFrom(GetSimulationRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetSimulationRequest |
| Returns | |
|---|---|
| Type | Description |
GetSimulationRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetSimulationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetSimulationRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetSimulationRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetSimulationRequest.Builder |
|
setName(String value)
public GetSimulationRequest.Builder setName(String value)Required. The organization name or simulation name of this simulation
Valid format:
organizations/{organization}/simulations/latest
organizations/{organization}/simulations/{simulation}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
GetSimulationRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public GetSimulationRequest.Builder setNameBytes(ByteString value)Required. The organization name or simulation name of this simulation
Valid format:
organizations/{organization}/simulations/latest
organizations/{organization}/simulations/{simulation}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
GetSimulationRequest.Builder |
This builder for chaining. |