Class Advice.Builder (2.11.0)

Stay organized with collections Save and categorize content based on your preferences.
public static final class Advice.Builder extends GeneratedMessageV3.Builder<Advice.Builder> implements AdviceOrBuilder

Generated advice about this change, used for providing more information about how a change will affect the existing service.

Protobuf type google.api.Advice

Implements

AdviceOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Advice.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Advice.Builder
Overrides

build()

public Advice build()
Returns
TypeDescription
Advice

buildPartial()

public Advice buildPartial()
Returns
TypeDescription
Advice

clear()

public Advice.Builder clear()
Returns
TypeDescription
Advice.Builder
Overrides

clearDescription()

public Advice.Builder clearDescription()

Useful description for why this advice was applied and what actions should be taken to mitigate any implied risks.

string description = 2;

Returns
TypeDescription
Advice.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Advice.Builder clearField(Descriptors.FieldDescriptor field)
Parameter