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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Advice.BuilderImplements
AdviceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Advice.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Advice.Builder |
build()
public Advice build()
Type | Description |
Advice |
buildPartial()
public Advice buildPartial()
Type | Description |
Advice |
clear()
public Advice.Builder clear()
Type | Description |
Advice.Builder |
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;
Type | Description |
Advice.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Advice.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Advice.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Advice.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Advice.Builder |
clone()
public Advice.Builder clone()
Type | Description |
Advice.Builder |
getDefaultInstanceForType()
public Advice getDefaultInstanceForType()
Type | Description |
Advice |
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;
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;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Advice other)
public Advice.Builder mergeFrom(Advice other)
Name | Description |
other | Advice |
Type | Description |
Advice.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Advice.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Advice.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Advice.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Advice.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Advice.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Advice.Builder |
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;
Name | Description |
value | String The description to set. |
Type | Description |
Advice.Builder | This builder for chaining. |
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;
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
Advice.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Advice.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Advice.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Advice.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Advice.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Advice.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Advice.Builder |