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