- 0.58.0 (latest)
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.52.0
- 0.50.0
- 0.49.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class GenericInsight.Builder extends GeneratedMessageV3.Builder<GenericInsight.Builder> implements GenericInsightOrBuilderA generic insight about an asset.
Protobuf type google.cloud.migrationcenter.v1.GenericInsight
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GenericInsight.BuilderImplements
GenericInsightOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAdditionalInformation(String value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe additionalInformation to add. |
| Returns | |
|---|---|
| Type | Description |
GenericInsight.Builder |
This builder for chaining. |
addAdditionalInformationBytes(ByteString value)
public GenericInsight.Builder addAdditionalInformationBytes(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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the additionalInformation to add. |
| Returns | |
|---|---|
| Type | Description |
GenericInsight.Builder |
This builder for chaining. |
addAllAdditionalInformation(Iterable<String> values)
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];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The additionalInformation to add. |
| Returns | |
|---|---|
| Type | Description |
GenericInsight.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenericInsight.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GenericInsight.Builder |
|
build()
public GenericInsight build()| Returns | |
|---|---|
| Type | Description |
GenericInsight |
|
buildPartial()
public GenericInsight buildPartial()| Returns | |
|---|---|
| Type | Description |
GenericInsight |
|
clear()
public GenericInsight.Builder clear()| Returns | |
|---|---|
| Type | Description |
GenericInsight.Builder |
|
clearAdditionalInformation()
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];
| Returns | |
|---|---|
| Type | Description |
GenericInsight.Builder |
This builder for chaining. |
clearDefaultMessage()
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];
| Returns | |
|---|---|
| Type | Description |
GenericInsight.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public GenericInsight.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
GenericInsight.Builder |
|
clearMessageId()
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];
| Returns | |
|---|---|
| Type | Description |
GenericInsight.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GenericInsight.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
GenericInsight.Builder |
|
clone()
public GenericInsight.Builder clone()| Returns | |
|---|---|
| Type | Description |
GenericInsight.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the additionalInformation. |
getDefaultInstanceForType()
public GenericInsight getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for defaultMessage. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| Type | Description |
long |
The messageId. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GenericInsight other)
public GenericInsight.Builder mergeFrom(GenericInsight other)| Parameter | |
|---|---|
| Name | Description |
other |
GenericInsight |
| Returns | |
|---|---|
| Type | Description |
GenericInsight.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenericInsight.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GenericInsight.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GenericInsight.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GenericInsight.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenericInsight.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
GenericInsight.Builder |
|
setAdditionalInformation(int index, String value)
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];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe additionalInformation to set. |
| Returns | |
|---|---|
| Type | Description |
GenericInsight.Builder |
This builder for chaining. |
setDefaultMessage(String value)
public 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe defaultMessage to set. |
| Returns | |
|---|---|
| Type | Description |
GenericInsight.Builder |
This builder for chaining. |
setDefaultMessageBytes(ByteString value)
public GenericInsight.Builder setDefaultMessageBytes(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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for defaultMessage to set. |
| Returns | |
|---|---|
| Type | Description |
GenericInsight.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public GenericInsight.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GenericInsight.Builder |
|
setMessageId(long value)
public 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];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe messageId to set. |
| Returns | |
|---|---|
| Type | Description |
GenericInsight.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenericInsight.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
GenericInsight.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final GenericInsight.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
GenericInsight.Builder |
|