public static final class Violation.Remediation.Instructions.Builder extends GeneratedMessageV3.Builder<Violation.Remediation.Instructions.Builder> implements Violation.Remediation.InstructionsOrBuilder
Instructions to remediate violation
Protobuf type google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public Violation.Remediation.Instructions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public Violation.Remediation.Instructions build()
Returns
public Violation.Remediation.Instructions buildPartial()
Returns
public Violation.Remediation.Instructions.Builder clear()
Returns
Overrides
public Violation.Remediation.Instructions.Builder clearConsoleInstructions()
Remediation instructions to resolve violation via cloud console
.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Console console_instructions = 2;
Returns
public Violation.Remediation.Instructions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public Violation.Remediation.Instructions.Builder clearGcloudInstructions()
Remediation instructions to resolve violation via gcloud cli
.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Gcloud gcloud_instructions = 1;
Returns
public Violation.Remediation.Instructions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public Violation.Remediation.Instructions.Builder clone()
Returns
Overrides
public Violation.Remediation.Instructions.Console getConsoleInstructions()
Remediation instructions to resolve violation via cloud console
.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Console console_instructions = 2;
Returns
public Violation.Remediation.Instructions.Console.Builder getConsoleInstructionsBuilder()
Remediation instructions to resolve violation via cloud console
.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Console console_instructions = 2;
Returns
public Violation.Remediation.Instructions.ConsoleOrBuilder getConsoleInstructionsOrBuilder()
Remediation instructions to resolve violation via cloud console
.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Console console_instructions = 2;
Returns
public Violation.Remediation.Instructions getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Violation.Remediation.Instructions.Gcloud getGcloudInstructions()
Remediation instructions to resolve violation via gcloud cli
.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Gcloud gcloud_instructions = 1;
Returns
public Violation.Remediation.Instructions.Gcloud.Builder getGcloudInstructionsBuilder()
Remediation instructions to resolve violation via gcloud cli
.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Gcloud gcloud_instructions = 1;
Returns
public Violation.Remediation.Instructions.GcloudOrBuilder getGcloudInstructionsOrBuilder()
Remediation instructions to resolve violation via gcloud cli
.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Gcloud gcloud_instructions = 1;
Returns
public boolean hasConsoleInstructions()
Remediation instructions to resolve violation via cloud console
.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Console console_instructions = 2;
Returns
Type | Description |
boolean | Whether the consoleInstructions field is set.
|
public boolean hasGcloudInstructions()
Remediation instructions to resolve violation via gcloud cli
.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Gcloud gcloud_instructions = 1;
Returns
Type | Description |
boolean | Whether the gcloudInstructions field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Violation.Remediation.Instructions.Builder mergeConsoleInstructions(Violation.Remediation.Instructions.Console value)
Remediation instructions to resolve violation via cloud console
.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Console console_instructions = 2;
Parameter
Returns
public Violation.Remediation.Instructions.Builder mergeFrom(Violation.Remediation.Instructions other)
Parameter
Returns
public Violation.Remediation.Instructions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public Violation.Remediation.Instructions.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public Violation.Remediation.Instructions.Builder mergeGcloudInstructions(Violation.Remediation.Instructions.Gcloud value)
Remediation instructions to resolve violation via gcloud cli
.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Gcloud gcloud_instructions = 1;
Parameter
Returns
public final Violation.Remediation.Instructions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public Violation.Remediation.Instructions.Builder setConsoleInstructions(Violation.Remediation.Instructions.Console value)
Remediation instructions to resolve violation via cloud console
.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Console console_instructions = 2;
Parameter
Returns
public Violation.Remediation.Instructions.Builder setConsoleInstructions(Violation.Remediation.Instructions.Console.Builder builderForValue)
Remediation instructions to resolve violation via cloud console
.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Console console_instructions = 2;
Parameter
Returns
public Violation.Remediation.Instructions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public Violation.Remediation.Instructions.Builder setGcloudInstructions(Violation.Remediation.Instructions.Gcloud value)
Remediation instructions to resolve violation via gcloud cli
.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Gcloud gcloud_instructions = 1;
Parameter
Returns
public Violation.Remediation.Instructions.Builder setGcloudInstructions(Violation.Remediation.Instructions.Gcloud.Builder builderForValue)
Remediation instructions to resolve violation via gcloud cli
.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions.Gcloud gcloud_instructions = 1;
Parameter
Returns
public Violation.Remediation.Instructions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final Violation.Remediation.Instructions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides