public static final class GenericInsight.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GenericInsight.Builder> implements GenericInsightOrBuilder
A generic insight about an asset.Protobuf type
google.cloud.migrationcenter.v1.GenericInsight| Modifier and Type | Method and Description |
|---|---|
GenericInsight.Builder |
addAdditionalInformation(String value)
Output only.
|
GenericInsight.Builder |
addAdditionalInformationBytes(com.google.protobuf.ByteString value)
Output only.
|
GenericInsight.Builder |
addAllAdditionalInformation(Iterable<String> values)
Output only.
|
GenericInsight.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GenericInsight |
build() |
GenericInsight |
buildPartial() |
GenericInsight.Builder |
clear() |
GenericInsight.Builder |
clearAdditionalInformation()
Output only.
|
GenericInsight.Builder |
clearDefaultMessage()
Output only.
|
GenericInsight.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GenericInsight.Builder |
clearMessageId()
Output only.
|
GenericInsight.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GenericInsight.Builder |
clone() |
String |
getAdditionalInformation(int index)
Output only.
|
com.google.protobuf.ByteString |
getAdditionalInformationBytes(int index)
Output only.
|
int |
getAdditionalInformationCount()
Output only.
|
com.google.protobuf.ProtocolStringList |
getAdditionalInformationList()
Output only.
|
GenericInsight |
getDefaultInstanceForType() |
String |
getDefaultMessage()
Output only.
|
com.google.protobuf.ByteString |
getDefaultMessageBytes()
Output only.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getMessageId()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GenericInsight.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GenericInsight.Builder |
mergeFrom(GenericInsight other) |
GenericInsight.Builder |
mergeFrom(com.google.protobuf.Message other) |
GenericInsight.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GenericInsight.Builder |
setAdditionalInformation(int index,
String value)
Output only.
|
GenericInsight.Builder |
setDefaultMessage(String value)
Output only.
|
GenericInsight.Builder |
setDefaultMessageBytes(com.google.protobuf.ByteString value)
Output only.
|
GenericInsight.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GenericInsight.Builder |
setMessageId(long value)
Output only.
|
GenericInsight.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GenericInsight.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GenericInsight.Builder>public GenericInsight.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<GenericInsight.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GenericInsight.Builder>public GenericInsight getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GenericInsight build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GenericInsight buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GenericInsight.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<GenericInsight.Builder>public GenericInsight.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<GenericInsight.Builder>public GenericInsight.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<GenericInsight.Builder>public GenericInsight.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GenericInsight.Builder>public GenericInsight.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GenericInsight.Builder>public GenericInsight.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GenericInsight.Builder>public GenericInsight.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GenericInsight.Builder>public GenericInsight.Builder mergeFrom(GenericInsight other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GenericInsight.Builder>public GenericInsight.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GenericInsight.Builder>IOExceptionpublic 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];getMessageId in interface GenericInsightOrBuilderpublic GenericInsight.Builder setMessageId(long value)
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];value - The messageId to set.public GenericInsight.Builder clearMessageId()
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];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];getDefaultMessage in interface GenericInsightOrBuilderpublic com.google.protobuf.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];getDefaultMessageBytes in interface GenericInsightOrBuilderpublic GenericInsight.Builder setDefaultMessage(String value)
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];value - The defaultMessage to set.public GenericInsight.Builder clearDefaultMessage()
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];public GenericInsight.Builder setDefaultMessageBytes(com.google.protobuf.ByteString value)
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];value - The bytes for defaultMessage to set.public com.google.protobuf.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];
getAdditionalInformationList in interface GenericInsightOrBuilderpublic 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];
getAdditionalInformationCount in interface GenericInsightOrBuilderpublic 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];
getAdditionalInformation in interface GenericInsightOrBuilderindex - The index of the element to return.public com.google.protobuf.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];
getAdditionalInformationBytes in interface GenericInsightOrBuilderindex - The index of the value to return.public GenericInsight.Builder setAdditionalInformation(int index, String value)
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];
index - The index to set the value at.value - The additionalInformation to set.public GenericInsight.Builder addAdditionalInformation(String value)
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];
value - The additionalInformation to add.public GenericInsight.Builder addAllAdditionalInformation(Iterable<String> values)
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];
values - The additionalInformation to add.public GenericInsight.Builder clearAdditionalInformation()
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];
public GenericInsight.Builder addAdditionalInformationBytes(com.google.protobuf.ByteString value)
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];
value - The bytes of the additionalInformation to add.public final GenericInsight.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GenericInsight.Builder>public final GenericInsight.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GenericInsight.Builder>Copyright © 2024 Google LLC. All rights reserved.