public static final class GenerateTerraformPlanAssessmentReportRequest.Builder extends GeneratedMessage.Builder<GenerateTerraformPlanAssessmentReportRequest.Builder> implements GenerateTerraformPlanAssessmentReportRequestOrBuilderMessage for the request to generate a best practice report for a given Terraform plan at the collection level.
Protobuf type google.cloud.designcenter.v1.GenerateTerraformPlanAssessmentReportRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GenerateTerraformPlanAssessmentReportRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAdditionalFrameworks(String value)
public GenerateTerraformPlanAssessmentReportRequest.Builder addAdditionalFrameworks(String value)Optional. Additional Frameworks to run assessment against. If empty, run against default frameworks. Frameworks refers to the policies.
repeated string additional_frameworks = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe additionalFrameworks to add. |
| Returns | |
|---|---|
| Type | Description |
GenerateTerraformPlanAssessmentReportRequest.Builder |
This builder for chaining. |
addAdditionalFrameworksBytes(ByteString value)
public GenerateTerraformPlanAssessmentReportRequest.Builder addAdditionalFrameworksBytes(ByteString value)Optional. Additional Frameworks to run assessment against. If empty, run against default frameworks. Frameworks refers to the policies.
repeated string additional_frameworks = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the additionalFrameworks to add. |
| Returns | |
|---|---|
| Type | Description |
GenerateTerraformPlanAssessmentReportRequest.Builder |
This builder for chaining. |
addAllAdditionalFrameworks(Iterable<String> values)
public GenerateTerraformPlanAssessmentReportRequest.Builder addAllAdditionalFrameworks(Iterable<String> values)Optional. Additional Frameworks to run assessment against. If empty, run against default frameworks. Frameworks refers to the policies.
repeated string additional_frameworks = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The additionalFrameworks to add. |
| Returns | |
|---|---|
| Type | Description |
GenerateTerraformPlanAssessmentReportRequest.Builder |
This builder for chaining. |
build()
public GenerateTerraformPlanAssessmentReportRequest build()| Returns | |
|---|---|
| Type | Description |
GenerateTerraformPlanAssessmentReportRequest |
|
buildPartial()
public GenerateTerraformPlanAssessmentReportRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GenerateTerraformPlanAssessmentReportRequest |
|
clear()
public GenerateTerraformPlanAssessmentReportRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GenerateTerraformPlanAssessmentReportRequest.Builder |
|
clearAdditionalFrameworks()
public GenerateTerraformPlanAssessmentReportRequest.Builder clearAdditionalFrameworks()Optional. Additional Frameworks to run assessment against. If empty, run against default frameworks. Frameworks refers to the policies.
repeated string additional_frameworks = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GenerateTerraformPlanAssessmentReportRequest.Builder |
This builder for chaining. |
clearName()
public GenerateTerraformPlanAssessmentReportRequest.Builder clearName()Required. The parent resource in which to generate the assessment report. Format: projects/$project/locations/$location/spaces/$space
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
GenerateTerraformPlanAssessmentReportRequest.Builder |
This builder for chaining. |
clearTerraformPlan()
public GenerateTerraformPlanAssessmentReportRequest.Builder clearTerraformPlan()Required. The raw JSON representation of the generated Terraform plan, provided as bytes.
bytes terraform_plan = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GenerateTerraformPlanAssessmentReportRequest.Builder |
This builder for chaining. |
getAdditionalFrameworks(int index)
public String getAdditionalFrameworks(int index)Optional. Additional Frameworks to run assessment against. If empty, run against default frameworks. Frameworks refers to the policies.
repeated string additional_frameworks = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The additionalFrameworks at the given index. |
getAdditionalFrameworksBytes(int index)
public ByteString getAdditionalFrameworksBytes(int index)Optional. Additional Frameworks to run assessment against. If empty, run against default frameworks. Frameworks refers to the policies.
repeated string additional_frameworks = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the additionalFrameworks at the given index. |
getAdditionalFrameworksCount()
public int getAdditionalFrameworksCount()Optional. Additional Frameworks to run assessment against. If empty, run against default frameworks. Frameworks refers to the policies.
repeated string additional_frameworks = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of additionalFrameworks. |
getAdditionalFrameworksList()
public ProtocolStringList getAdditionalFrameworksList()Optional. Additional Frameworks to run assessment against. If empty, run against default frameworks. Frameworks refers to the policies.
repeated string additional_frameworks = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the additionalFrameworks. |
getDefaultInstanceForType()
public GenerateTerraformPlanAssessmentReportRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GenerateTerraformPlanAssessmentReportRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. The parent resource in which to generate the assessment report. Format: projects/$project/locations/$location/spaces/$space
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The parent resource in which to generate the assessment report. Format: projects/$project/locations/$location/spaces/$space
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getTerraformPlan()
public ByteString getTerraformPlan()Required. The raw JSON representation of the generated Terraform plan, provided as bytes.
bytes terraform_plan = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The terraformPlan. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GenerateTerraformPlanAssessmentReportRequest other)
public GenerateTerraformPlanAssessmentReportRequest.Builder mergeFrom(GenerateTerraformPlanAssessmentReportRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GenerateTerraformPlanAssessmentReportRequest |
| Returns | |
|---|---|
| Type | Description |
GenerateTerraformPlanAssessmentReportRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerateTerraformPlanAssessmentReportRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenerateTerraformPlanAssessmentReportRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GenerateTerraformPlanAssessmentReportRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GenerateTerraformPlanAssessmentReportRequest.Builder |
|
setAdditionalFrameworks(int index, String value)
public GenerateTerraformPlanAssessmentReportRequest.Builder setAdditionalFrameworks(int index, String value)Optional. Additional Frameworks to run assessment against. If empty, run against default frameworks. Frameworks refers to the policies.
repeated string additional_frameworks = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe additionalFrameworks to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateTerraformPlanAssessmentReportRequest.Builder |
This builder for chaining. |
setName(String value)
public GenerateTerraformPlanAssessmentReportRequest.Builder setName(String value)Required. The parent resource in which to generate the assessment report. Format: projects/$project/locations/$location/spaces/$space
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateTerraformPlanAssessmentReportRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public GenerateTerraformPlanAssessmentReportRequest.Builder setNameBytes(ByteString value)Required. The parent resource in which to generate the assessment report. Format: projects/$project/locations/$location/spaces/$space
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 |
GenerateTerraformPlanAssessmentReportRequest.Builder |
This builder for chaining. |
setTerraformPlan(ByteString value)
public GenerateTerraformPlanAssessmentReportRequest.Builder setTerraformPlan(ByteString value)Required. The raw JSON representation of the generated Terraform plan, provided as bytes.
bytes terraform_plan = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe terraformPlan to set. |
| Returns | |
|---|---|
| Type | Description |
GenerateTerraformPlanAssessmentReportRequest.Builder |
This builder for chaining. |