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
Modifier and Type | Method and Description |
---|---|
Advice.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Advice |
build() |
Advice |
buildPartial() |
Advice.Builder |
clear() |
Advice.Builder |
clearDescription()
Useful description for why this advice was applied and what actions should
be taken to mitigate any implied risks.
|
Advice.Builder |
clearField(Descriptors.FieldDescriptor field) |
Advice.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
Advice.Builder |
clone() |
Advice |
getDefaultInstanceForType() |
java.lang.String |
getDescription()
Useful description for why this advice was applied and what actions should
be taken to mitigate any implied risks.
|
ByteString |
getDescriptionBytes()
Useful description for why this advice was applied and what actions should
be taken to mitigate any implied risks.
|
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Advice.Builder |
mergeFrom(Advice other) |
Advice.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Advice.Builder |
mergeFrom(Message other) |
Advice.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
Advice.Builder |
setDescription(java.lang.String value)
Useful description for why this advice was applied and what actions should
be taken to mitigate any implied risks.
|
Advice.Builder |
setDescriptionBytes(ByteString value)
Useful description for why this advice was applied and what actions should
be taken to mitigate any implied risks.
|
Advice.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Advice.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Advice.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Advice.Builder>
public Advice.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Advice.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Advice.Builder>
public Advice getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Advice build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Advice buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Advice.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Advice.Builder>
public Advice.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Advice.Builder>
public Advice.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Advice.Builder>
public Advice.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Advice.Builder>
public Advice.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Advice.Builder>
public Advice.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Advice.Builder>
public Advice.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Advice.Builder>
public Advice.Builder mergeFrom(Advice other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Advice.Builder>
public Advice.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Advice.Builder>
java.io.IOException
public java.lang.String getDescription()
Useful description for why this advice was applied and what actions should be taken to mitigate any implied risks.
string description = 2;
getDescription
in interface AdviceOrBuilder
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;
getDescriptionBytes
in interface AdviceOrBuilder
public Advice.Builder setDescription(java.lang.String value)
Useful description for why this advice was applied and what actions should be taken to mitigate any implied risks.
string description = 2;
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;
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;
public final Advice.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Advice.Builder>
public final Advice.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Advice.Builder>