Class Violation.Remediation.Instructions.Console.Builder (0.4.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.v1beta.Violation.Remediation.Instructions.Console

Static Methods

getDescriptor()

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

Methods

public Violation.Remediation.Instructions.Console.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.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
NameDescription
valueByteString

The bytes of the additionalLinks to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The additionalLinks to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The consoleUris to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The steps to add.

Returns
TypeDescription
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
NameDescription
valueString

The consoleUris to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the consoleUris to add.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The steps to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the steps to add.

Returns
TypeDescription
Violation.Remediation.Instructions.Console.Builder

This builder for chaining.

build()

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

buildPartial()

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

clear()

public Violation.Remediation.Instructions.Console.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Violation.Remediation.Instructions.Console.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Violation.Remediation.Instructions.Console.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Violation.Remediation.Instructions.Console.Builder

This builder for chaining.

clone()

public Violation.Remediation.Instructions.Console.Builder clone()
Returns
TypeDescription
Violation.Remediation.Instructions.Console.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.

getConsoleUris(int index)

public String getConsoleUris(int index)

Link to console page where violations can be resolved

repeated string console_uris = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of consoleUris.

getConsoleUrisList()

public ProtocolStringList getConsoleUrisList()

Link to console page where violations can be resolved

repeated string console_uris = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the consoleUris.

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSteps(int index)

public String getSteps(int index)

Steps to resolve violation via cloud console

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 cloud console

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 cloud console

repeated string steps = 2;

Returns
TypeDescription
int

The count of steps.

getStepsList()

public ProtocolStringList getStepsList()

Steps to resolve violation via cloud console

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.Console other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Violation.Remediation.Instructions.Console.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The additionalLinks to set.

Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The consoleUris to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The steps to set.

Returns
TypeDescription
Violation.Remediation.Instructions.Console.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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