public final class Advice extends GeneratedMessageV3 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<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AdviceImplements
AdviceOrBuilderStatic Fields
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Advice getDefaultInstance()
Type | Description |
Advice |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static Advice.Builder newBuilder()
Type | Description |
Advice.Builder |
newBuilder(Advice prototype)
public static Advice.Builder newBuilder(Advice prototype)
Name | Description |
prototype | Advice |
Type | Description |
Advice.Builder |
parseDelimitedFrom(InputStream input)
public static Advice parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Advice |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Advice parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Advice |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Advice parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Advice |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Advice parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Advice |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Advice parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Advice |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Advice parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Advice |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Advice parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Advice |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Advice parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Advice |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Advice parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Advice |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Advice parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Advice |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Advice parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Advice |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Advice parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Advice |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Advice> parser()
Type | Description |
Parser<Advice> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
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. |
getParserForType()
public Parser<Advice> getParserForType()
Type | Description |
Parser<Advice> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public Advice.Builder newBuilderForType()
Type | Description |
Advice.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Advice.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Advice.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public Advice.Builder toBuilder()
Type | Description |
Advice.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |