Class Violation.Remediation.Instructions.Gcloud.Builder (0.5.0)

public static final class Violation.Remediation.Instructions.Gcloud.Builder extends GeneratedMessageV3.Builder<Violation.Remediation.Instructions.Gcloud.Builder> implements Violation.Remediation.Instructions.GcloudOrBuilder

Remediation instructions to resolve violation via gcloud cli

Protobuf type google.cloud.cloudcontrolspartner.v1beta.Violation.Remediation.Instructions.Gcloud

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

public Violation.Remediation.Instructions.Gcloud.Builder addAdditionalLinks(String value)

Additional urls for more information about steps

repeated string additional_links = 3;

Parameter
NameDescription
valueString

The additionalLinks to add.

Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud.Builder

This builder for chaining.

addAdditionalLinksBytes(ByteString value)

public Violation.Remediation.Instructions.Gcloud.Builder addAdditionalLinksBytes(ByteString value)

Additional urls for more information about steps

repeated string additional_links = 3;

Parameter
NameDescription
valueByteString

The bytes of the additionalLinks to add.

Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud.Builder

This builder for chaining.

public Violation.Remediation.Instructions.Gcloud.Builder addAllAdditionalLinks(Iterable<String> values)

Additional urls for more information about steps

repeated string additional_links = 3;

Parameter
NameDescription
valuesIterable<String>

The additionalLinks to add.

Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud.Builder

This builder for chaining.

addAllGcloudCommands(Iterable<String> values)

public Violation.Remediation.Instructions.Gcloud.Builder addAllGcloudCommands(Iterable<String> values)

Gcloud command to resolve violation

repeated string gcloud_commands = 1;

Parameter
NameDescription
valuesIterable<String>

The gcloudCommands to add.

Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud.Builder

This builder for chaining.

addAllSteps(Iterable<String> values)

public Violation.Remediation.Instructions.Gcloud.Builder addAllSteps(Iterable<String> values)

Steps to resolve violation via gcloud cli

repeated string steps = 2;

Parameter
NameDescription
valuesIterable<String>

The steps to add.

Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud.Builder

This builder for chaining.

addGcloudCommands(String value)

public Violation.Remediation.Instructions.Gcloud.Builder addGcloudCommands(String value)

Gcloud command to resolve violation

repeated string gcloud_commands = 1;

Parameter
NameDescription
valueString

The gcloudCommands to add.

Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud.Builder

This builder for chaining.

addGcloudCommandsBytes(ByteString value)

public Violation.Remediation.Instructions.Gcloud.Builder addGcloudCommandsBytes(ByteString value)

Gcloud command to resolve violation

repeated string gcloud_commands = 1;

Parameter
NameDescription
valueByteString

The bytes of the gcloudCommands to add.

Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Violation.Remediation.Instructions.Gcloud.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud.Builder
Overrides

addSteps(String value)

public Violation.Remediation.Instructions.Gcloud.Builder addSteps(String value)

Steps to resolve violation via gcloud cli

repeated string steps = 2;

Parameter
NameDescription
valueString

The steps to add.

Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud.Builder

This builder for chaining.

addStepsBytes(ByteString value)

public Violation.Remediation.Instructions.Gcloud.Builder addStepsBytes(ByteString value)

Steps to resolve violation via gcloud cli

repeated string steps = 2;

Parameter
NameDescription
valueByteString

The bytes of the steps to add.

Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud.Builder

This builder for chaining.

build()

public Violation.Remediation.Instructions.Gcloud build()
Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud

buildPartial()

public Violation.Remediation.Instructions.Gcloud buildPartial()
Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud

clear()

public Violation.Remediation.Instructions.Gcloud.Builder clear()
Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud.Builder
Overrides
public Violation.Remediation.Instructions.Gcloud.Builder clearAdditionalLinks()

Additional urls for more information about steps

repeated string additional_links = 3;

Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Violation.Remediation.Instructions.Gcloud.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud.Builder
Overrides

clearGcloudCommands()

public Violation.Remediation.Instructions.Gcloud.Builder clearGcloudCommands()

Gcloud command to resolve violation

repeated string gcloud_commands = 1;

Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Violation.Remediation.Instructions.Gcloud.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud.Builder
Overrides

clearSteps()

public Violation.Remediation.Instructions.Gcloud.Builder clearSteps()

Steps to resolve violation via gcloud cli

repeated string steps = 2;

Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud.Builder

This builder for chaining.

clone()

public Violation.Remediation.Instructions.Gcloud.Builder clone()
Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud.Builder
Overrides
public String getAdditionalLinks(int index)

Additional urls for more information about steps

repeated string additional_links = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The additionalLinks at the given index.

getAdditionalLinksBytes(int index)

public ByteString getAdditionalLinksBytes(int index)

Additional urls for more information about steps

repeated string additional_links = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the additionalLinks at the given index.

getAdditionalLinksCount()

public int getAdditionalLinksCount()

Additional urls for more information about steps

repeated string additional_links = 3;

Returns
TypeDescription
int

The count of additionalLinks.

public ProtocolStringList getAdditionalLinksList()

Additional urls for more information about steps

repeated string additional_links = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the additionalLinks.

getDefaultInstanceForType()

public Violation.Remediation.Instructions.Gcloud getDefaultInstanceForType()
Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGcloudCommands(int index)

public String getGcloudCommands(int index)

Gcloud command to resolve violation

repeated string gcloud_commands = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The gcloudCommands at the given index.

getGcloudCommandsBytes(int index)

public ByteString getGcloudCommandsBytes(int index)

Gcloud command to resolve violation

repeated string gcloud_commands = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the gcloudCommands at the given index.

getGcloudCommandsCount()

public int getGcloudCommandsCount()

Gcloud command to resolve violation

repeated string gcloud_commands = 1;

Returns
TypeDescription
int

The count of gcloudCommands.

getGcloudCommandsList()

public ProtocolStringList getGcloudCommandsList()

Gcloud command to resolve violation

repeated string gcloud_commands = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the gcloudCommands.

getSteps(int index)

public String getSteps(int index)

Steps to resolve violation via gcloud cli

repeated string steps = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The steps at the given index.

getStepsBytes(int index)

public ByteString getStepsBytes(int index)

Steps to resolve violation via gcloud cli

repeated string steps = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the steps at the given index.

getStepsCount()

public int getStepsCount()

Steps to resolve violation via gcloud cli

repeated string steps = 2;

Returns
TypeDescription
int

The count of steps.

getStepsList()

public ProtocolStringList getStepsList()

Steps to resolve violation via gcloud cli

repeated string steps = 2;

Returns
TypeDescription
ProtocolStringList

A list containing the steps.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Violation.Remediation.Instructions.Gcloud other)

public Violation.Remediation.Instructions.Gcloud.Builder mergeFrom(Violation.Remediation.Instructions.Gcloud other)
Parameter
NameDescription
otherViolation.Remediation.Instructions.Gcloud
Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Violation.Remediation.Instructions.Gcloud.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Violation.Remediation.Instructions.Gcloud.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Violation.Remediation.Instructions.Gcloud.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud.Builder
Overrides
public Violation.Remediation.Instructions.Gcloud.Builder setAdditionalLinks(int index, String value)

Additional urls for more information about steps

repeated string additional_links = 3;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The additionalLinks to set.

Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Violation.Remediation.Instructions.Gcloud.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud.Builder
Overrides

setGcloudCommands(int index, String value)

public Violation.Remediation.Instructions.Gcloud.Builder setGcloudCommands(int index, String value)

Gcloud command to resolve violation

repeated string gcloud_commands = 1;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The gcloudCommands to set.

Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud.Builder

This builder for chaining.

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

public Violation.Remediation.Instructions.Gcloud.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud.Builder
Overrides

setSteps(int index, String value)

public Violation.Remediation.Instructions.Gcloud.Builder setSteps(int index, String value)

Steps to resolve violation via gcloud cli

repeated string steps = 2;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The steps to set.

Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Violation.Remediation.Instructions.Gcloud.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Violation.Remediation.Instructions.Gcloud.Builder
Overrides