Class Violation.Remediation.Instructions.Console.Builder (0.9.0)

public static final class Violation.Remediation.Instructions.Console.Builder extends GeneratedMessageV3.Builder<Violation.Remediation.Instructions.Console.Builder> implements Violation.Remediation.Instructions.ConsoleOrBuilder

Remediation instructions to resolve violation via cloud console

Protobuf type google.cloud.cloudcontrolspartner.v1.Violation.Remediation.Instructions.Console

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

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

Additional urls for more information about steps

repeated string additional_links = 3;

Parameter
Name Description
value String

The additionalLinks to add.

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

This builder for chaining.

addAdditionalLinksBytes(ByteString value)

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

Additional urls for more information about steps

repeated string additional_links = 3;

Parameter
Name Description
value ByteString

The bytes of the additionalLinks to add.

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

This builder for chaining.

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

Additional urls for more information about steps

repeated string additional_links = 3;

Parameter
Name Description
values Iterable<String>

The additionalLinks to add.

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

This builder for chaining.

addAllConsoleUris(Iterable<String> values)

public Violation.Remediation.Instructions.Console.Builder addAllConsoleUris(Iterable<String> values)

Link to console page where violations can be resolved

repeated string console_uris = 1;

Parameter
Name Description
values Iterable<String>

The consoleUris to add.

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

This builder for chaining.

addAllSteps(Iterable<String> values)

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

Steps to resolve violation via cloud console

repeated string steps = 2;

Parameter
Name Description
values Iterable<String>

The steps to add.

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

This builder for chaining.

addConsoleUris(String value)

public Violation.Remediation.Instructions.Console.Builder addConsoleUris(String value)

Link to console page where violations can be resolved

repeated string console_uris = 1;

Parameter
Name Description
value String

The consoleUris to add.

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

This builder for chaining.

addConsoleUrisBytes(ByteString value)

public Violation.Remediation.Instructions.Console.Builder addConsoleUrisBytes(ByteString value)

Link to console page where violations can be resolved

repeated string console_uris = 1;

Parameter
Name Description
value ByteString

The bytes of the consoleUris to add.

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

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSteps(String value)

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

Steps to resolve violation via cloud console

repeated string steps = 2;

Parameter
Name Description
value String

The steps to add.

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

This builder for chaining.

addStepsBytes(ByteString value)

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

Steps to resolve violation via cloud console

repeated string steps = 2;

Parameter
Name Description
value ByteString

The bytes of the steps to add.

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

This builder for chaining.

build()

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

buildPartial()

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

clear()

public Violation.Remediation.Instructions.Console.Builder clear()
Returns
Type Description
Violation.Remediation.Instructions.Console.Builder
Overrides
public Violation.Remediation.Instructions.Console.Builder clearAdditionalLinks()

Additional urls for more information about steps

repeated string additional_links = 3;

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

This builder for chaining.

clearConsoleUris()

public Violation.Remediation.Instructions.Console.Builder clearConsoleUris()

Link to console page where violations can be resolved

repeated string console_uris = 1;

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSteps()

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

Steps to resolve violation via cloud console

repeated string steps = 2;

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

This builder for chaining.

clone()

public Violation.Remediation.Instructions.Console.Builder clone()
Returns
Type Description
Violation.Remediation.Instructions.Console.Builder
Overrides
public String getAdditionalLinks(int index)

Additional urls for more information about steps

repeated string additional_links = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
int

The count of additionalLinks.

public ProtocolStringList getAdditionalLinksList()

Additional urls for more information about steps

repeated string additional_links = 3;

Returns
Type Description
ProtocolStringList

A list containing the additionalLinks.

getConsoleUris(int index)

public String getConsoleUris(int index)

Link to console page where violations can be resolved

repeated string console_uris = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The consoleUris at the given index.

getConsoleUrisBytes(int index)

public ByteString getConsoleUrisBytes(int index)

Link to console page where violations can be resolved

repeated string console_uris = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the consoleUris at the given index.

getConsoleUrisCount()

public int getConsoleUrisCount()

Link to console page where violations can be resolved

repeated string console_uris = 1;

Returns
Type Description
int

The count of consoleUris.

getConsoleUrisList()

public ProtocolStringList getConsoleUrisList()

Link to console page where violations can be resolved

repeated string console_uris = 1;

Returns
Type Description
ProtocolStringList

A list containing the consoleUris.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getSteps(int index)

public String getSteps(int index)

Steps to resolve violation via cloud console

repeated string steps = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The steps at the given index.

getStepsBytes(int index)

public ByteString getStepsBytes(int index)

Steps to resolve violation via cloud console

repeated string steps = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the steps at the given index.

getStepsCount()

public int getStepsCount()

Steps to resolve violation via cloud console

repeated string steps = 2;

Returns
Type Description
int

The count of steps.

getStepsList()

public ProtocolStringList getStepsList()

Steps to resolve violation via cloud console

repeated string steps = 2;

Returns
Type Description
ProtocolStringList

A list containing the steps.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Violation.Remediation.Instructions.Console other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Violation.Remediation.Instructions.Console.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Violation.Remediation.Instructions.Console.Builder
Overrides
public Violation.Remediation.Instructions.Console.Builder setAdditionalLinks(int index, String value)

Additional urls for more information about steps

repeated string additional_links = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The additionalLinks to set.

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

This builder for chaining.

setConsoleUris(int index, String value)

public Violation.Remediation.Instructions.Console.Builder setConsoleUris(int index, String value)

Link to console page where violations can be resolved

repeated string console_uris = 1;

Parameters
Name Description
index int

The index to set the value at.

value String

The consoleUris to set.

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

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSteps(int index, String value)

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

Steps to resolve violation via cloud console

repeated string steps = 2;

Parameters
Name Description
index int

The index to set the value at.

value String

The steps to set.

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

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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