Class Violation.Remediation.Instructions.Builder (2.45.0)

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

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()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Violation.Remediation.Instructions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

build()

public Violation.Remediation.Instructions build()
Returns
Type Description
Violation.Remediation.Instructions

buildPartial()

public Violation.Remediation.Instructions buildPartial()
Returns
Type Description
Violation.Remediation.Instructions

clear()

public Violation.Remediation.Instructions.Builder clear()
Overrides

clearConsoleInstructions()

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;

clearField(Descriptors.FieldDescriptor field)

public Violation.Remediation.Instructions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Overrides

clearGcloudInstructions()

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;

clearOneof(Descriptors.OneofDescriptor oneof)

public Violation.Remediation.Instructions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Overrides

clone()

public Violation.Remediation.Instructions.Builder clone()
Overrides

getConsoleInstructions()

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
Type Description
Violation.Remediation.Instructions.Console

The consoleInstructions.

getConsoleInstructionsBuilder()

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;

getConsoleInstructionsOrBuilder()

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;

getDefaultInstanceForType()

public Violation.Remediation.Instructions getDefaultInstanceForType()
Returns
Type Description
Violation.Remediation.Instructions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGcloudInstructions()

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
Type Description
Violation.Remediation.Instructions.Gcloud

The gcloudInstructions.

getGcloudInstructionsBuilder()

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;

getGcloudInstructionsOrBuilder()

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;

hasConsoleInstructions()

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.

hasGcloudInstructions()

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConsoleInstructions(Violation.Remediation.Instructions.Console value)

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
Name Description
value Violation.Remediation.Instructions.Console

mergeFrom(Violation.Remediation.Instructions other)

public Violation.Remediation.Instructions.Builder mergeFrom(Violation.Remediation.Instructions other)
Parameter
Name Description
other Violation.Remediation.Instructions

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Violation.Remediation.Instructions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Violation.Remediation.Instructions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Overrides

mergeGcloudInstructions(Violation.Remediation.Instructions.Gcloud value)

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
Name Description
value Violation.Remediation.Instructions.Gcloud

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Violation.Remediation.Instructions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides

setConsoleInstructions(Violation.Remediation.Instructions.Console value)

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
Name Description
value Violation.Remediation.Instructions.Console

setConsoleInstructions(Violation.Remediation.Instructions.Console.Builder builderForValue)

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
Name Description
builderForValue Violation.Remediation.Instructions.Console.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Violation.Remediation.Instructions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

setGcloudInstructions(Violation.Remediation.Instructions.Gcloud value)

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
Name Description
value Violation.Remediation.Instructions.Gcloud

setGcloudInstructions(Violation.Remediation.Instructions.Gcloud.Builder builderForValue)

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
Name Description
builderForValue Violation.Remediation.Instructions.Gcloud.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Violation.Remediation.Instructions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Violation.Remediation.Instructions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides