Class Violation.Remediation.Instructions.Builder (0.9.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.cloudcontrolspartner.v1.Violation.Remediation.Instructions

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
Returns
Type Description
Violation.Remediation.Instructions.Builder
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()
Returns
Type Description
Violation.Remediation.Instructions.Builder
Overrides

clearConsoleInstructions()

public Violation.Remediation.Instructions.Builder clearConsoleInstructions()

Remediation instructions to resolve violation via cloud console

.google.cloud.cloudcontrolspartner.v1.Violation.Remediation.Instructions.Console console_instructions = 2;

Returns
Type Description
Violation.Remediation.Instructions.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearGcloudInstructions()

public Violation.Remediation.Instructions.Builder clearGcloudInstructions()

Remediation instructions to resolve violation via gcloud cli

.google.cloud.cloudcontrolspartner.v1.Violation.Remediation.Instructions.Gcloud gcloud_instructions = 1;

Returns
Type Description
Violation.Remediation.Instructions.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Violation.Remediation.Instructions.Builder clone()
Returns
Type Description
Violation.Remediation.Instructions.Builder
Overrides

getConsoleInstructions()

public Violation.Remediation.Instructions.Console getConsoleInstructions()

Remediation instructions to resolve violation via cloud console

.google.cloud.cloudcontrolspartner.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.cloudcontrolspartner.v1.Violation.Remediation.Instructions.Console console_instructions = 2;

Returns
Type Description
Violation.Remediation.Instructions.Console.Builder

getConsoleInstructionsOrBuilder()

public Violation.Remediation.Instructions.ConsoleOrBuilder getConsoleInstructionsOrBuilder()

Remediation instructions to resolve violation via cloud console

.google.cloud.cloudcontrolspartner.v1.Violation.Remediation.Instructions.Console console_instructions = 2;

Returns
Type Description
Violation.Remediation.Instructions.ConsoleOrBuilder

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.cloudcontrolspartner.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.cloudcontrolspartner.v1.Violation.Remediation.Instructions.Gcloud gcloud_instructions = 1;

Returns
Type Description
Violation.Remediation.Instructions.Gcloud.Builder

getGcloudInstructionsOrBuilder()

public Violation.Remediation.Instructions.GcloudOrBuilder getGcloudInstructionsOrBuilder()

Remediation instructions to resolve violation via gcloud cli

.google.cloud.cloudcontrolspartner.v1.Violation.Remediation.Instructions.Gcloud gcloud_instructions = 1;

Returns
Type Description
Violation.Remediation.Instructions.GcloudOrBuilder

hasConsoleInstructions()

public boolean hasConsoleInstructions()

Remediation instructions to resolve violation via cloud console

.google.cloud.cloudcontrolspartner.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.cloudcontrolspartner.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.cloudcontrolspartner.v1.Violation.Remediation.Instructions.Console console_instructions = 2;

Parameter
Name Description
value Violation.Remediation.Instructions.Console
Returns
Type Description
Violation.Remediation.Instructions.Builder

mergeFrom(Violation.Remediation.Instructions other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Violation.Remediation.Instructions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Violation.Remediation.Instructions.Builder
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.cloudcontrolspartner.v1.Violation.Remediation.Instructions.Gcloud gcloud_instructions = 1;

Parameter
Name Description
value Violation.Remediation.Instructions.Gcloud
Returns
Type Description
Violation.Remediation.Instructions.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Violation.Remediation.Instructions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Violation.Remediation.Instructions.Builder
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.cloudcontrolspartner.v1.Violation.Remediation.Instructions.Console console_instructions = 2;

Parameter
Name Description
value Violation.Remediation.Instructions.Console
Returns
Type Description
Violation.Remediation.Instructions.Builder

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.cloudcontrolspartner.v1.Violation.Remediation.Instructions.Console console_instructions = 2;

Parameter
Name Description
builderForValue Violation.Remediation.Instructions.Console.Builder
Returns
Type Description
Violation.Remediation.Instructions.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
Returns
Type Description
Violation.Remediation.Instructions.Builder
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.cloudcontrolspartner.v1.Violation.Remediation.Instructions.Gcloud gcloud_instructions = 1;

Parameter
Name Description
value Violation.Remediation.Instructions.Gcloud
Returns
Type Description
Violation.Remediation.Instructions.Builder

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.cloudcontrolspartner.v1.Violation.Remediation.Instructions.Gcloud gcloud_instructions = 1;

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

setUnknownFields(UnknownFieldSet unknownFields)

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