Class GenericInsight (0.9.0)

public final class GenericInsight extends GeneratedMessageV3 implements GenericInsightOrBuilder

A generic insight about an asset.

Protobuf type google.cloud.migrationcenter.v1.GenericInsight

Static Fields

ADDITIONAL_INFORMATION_FIELD_NUMBER

public static final int ADDITIONAL_INFORMATION_FIELD_NUMBER
Field Value
TypeDescription
int

DEFAULT_MESSAGE_FIELD_NUMBER

public static final int DEFAULT_MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

MESSAGE_ID_FIELD_NUMBER

public static final int MESSAGE_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GenericInsight getDefaultInstance()
Returns
TypeDescription
GenericInsight

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static GenericInsight.Builder newBuilder()
Returns
TypeDescription
GenericInsight.Builder

newBuilder(GenericInsight prototype)

public static GenericInsight.Builder newBuilder(GenericInsight prototype)
Parameter
NameDescription
prototypeGenericInsight
Returns
TypeDescription
GenericInsight.Builder

parseDelimitedFrom(InputStream input)

public static GenericInsight parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GenericInsight
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenericInsight parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenericInsight
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GenericInsight parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GenericInsight
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GenericInsight parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenericInsight
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GenericInsight parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GenericInsight
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GenericInsight parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenericInsight
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GenericInsight parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GenericInsight
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GenericInsight parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenericInsight
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GenericInsight parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GenericInsight
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenericInsight parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenericInsight
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GenericInsight parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GenericInsight
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GenericInsight parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenericInsight
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GenericInsight> parser()
Returns
TypeDescription
Parser<GenericInsight>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAdditionalInformation(int index)

public String getAdditionalInformation(int index)

Output only. Additional information about the insight, each entry can be a logical entry and must make sense if it is displayed with line breaks between each entry. Text can contain md style links.

repeated string additional_information = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The additionalInformation at the given index.

getAdditionalInformationBytes(int index)

public ByteString getAdditionalInformationBytes(int index)

Output only. Additional information about the insight, each entry can be a logical entry and must make sense if it is displayed with line breaks between each entry. Text can contain md style links.

repeated string additional_information = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the additionalInformation at the given index.

getAdditionalInformationCount()

public int getAdditionalInformationCount()

Output only. Additional information about the insight, each entry can be a logical entry and must make sense if it is displayed with line breaks between each entry. Text can contain md style links.

repeated string additional_information = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The count of additionalInformation.

getAdditionalInformationList()

public ProtocolStringList getAdditionalInformationList()

Output only. Additional information about the insight, each entry can be a logical entry and must make sense if it is displayed with line breaks between each entry. Text can contain md style links.

repeated string additional_information = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ProtocolStringList

A list containing the additionalInformation.

getDefaultInstanceForType()

public GenericInsight getDefaultInstanceForType()
Returns
TypeDescription
GenericInsight

getDefaultMessage()

public String getDefaultMessage()

Output only. In case message_code is not yet known by the client default_message will be the message to be used instead.

string default_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The defaultMessage.

getDefaultMessageBytes()

public ByteString getDefaultMessageBytes()

Output only. In case message_code is not yet known by the client default_message will be the message to be used instead.

string default_message = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for defaultMessage.

getMessageId()

public long getMessageId()

Output only. Represents a globally unique message id for this insight, can be used for localization purposes, in case message_code is not yet known by the client use default_message instead.

int64 message_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
long

The messageId.

getParserForType()

public Parser<GenericInsight> getParserForType()
Returns
TypeDescription
Parser<GenericInsight>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GenericInsight.Builder newBuilderForType()
Returns
TypeDescription
GenericInsight.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GenericInsight.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GenericInsight.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GenericInsight.Builder toBuilder()
Returns
TypeDescription
GenericInsight.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException