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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Advice.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public Advice buildPartial()
Returns
clear()
public Advice.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public Advice.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Advice.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Advice.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Advice getDefaultInstanceForType()
Returns
getDescription()
public String getDescription()
Useful description for why this advice was applied and what actions should
be taken to mitigate any implied risks.
string description = 2;
Returns
Type | Description |
String | The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
Useful description for why this advice was applied and what actions should
be taken to mitigate any implied risks.
string description = 2;
Returns
Type | Description |
ByteString | The bytes for description.
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Advice other)
public Advice.Builder mergeFrom(Advice other)
Parameter
Returns
public Advice.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Advice.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Advice.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setDescription(String value)
public Advice.Builder setDescription(String value)
Useful description for why this advice was applied and what actions should
be taken to mitigate any implied risks.
string description = 2;
Parameter
Name | Description |
value | String
The description to set.
|
Returns
setDescriptionBytes(ByteString value)
public Advice.Builder setDescriptionBytes(ByteString value)
Useful description for why this advice was applied and what actions should
be taken to mitigate any implied risks.
string description = 2;
Parameter
Name | Description |
value | ByteString
The bytes for description to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Advice.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Advice.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Advice.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides