public static final class Attachment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Attachment.Builder> implements AttachmentOrBuilder
Attachment with specific information about the issue.Protobuf type
google.cloud.advisorynotifications.v1.Attachment| Modifier and Type | Method and Description |
|---|---|
Attachment.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Attachment |
build() |
Attachment |
buildPartial() |
Attachment.Builder |
clear() |
Attachment.Builder |
clearCsv()
A CSV file attachment.
|
Attachment.Builder |
clearData() |
Attachment.Builder |
clearDisplayName()
The title of the attachment.
|
Attachment.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Attachment.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Attachment.Builder |
clone() |
Csv |
getCsv()
A CSV file attachment.
|
Csv.Builder |
getCsvBuilder()
A CSV file attachment.
|
CsvOrBuilder |
getCsvOrBuilder()
A CSV file attachment.
|
Attachment.DataCase |
getDataCase() |
Attachment |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
The title of the attachment.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
The title of the attachment.
|
boolean |
hasCsv()
A CSV file attachment.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Attachment.Builder |
mergeCsv(Csv value)
A CSV file attachment.
|
Attachment.Builder |
mergeFrom(Attachment other) |
Attachment.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Attachment.Builder |
mergeFrom(com.google.protobuf.Message other) |
Attachment.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Attachment.Builder |
setCsv(Csv.Builder builderForValue)
A CSV file attachment.
|
Attachment.Builder |
setCsv(Csv value)
A CSV file attachment.
|
Attachment.Builder |
setDisplayName(String value)
The title of the attachment.
|
Attachment.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
The title of the attachment.
|
Attachment.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Attachment.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Attachment.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<Attachment.Builder>public Attachment.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Attachment.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<Attachment.Builder>public Attachment getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Attachment build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Attachment buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Attachment.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Attachment.Builder>public Attachment.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<Attachment.Builder>public Attachment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Attachment.Builder>public Attachment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Attachment.Builder>public Attachment.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<Attachment.Builder>public Attachment.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<Attachment.Builder>public Attachment.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Attachment.Builder>public Attachment.Builder mergeFrom(Attachment other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Attachment.Builder>public Attachment.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<Attachment.Builder>IOExceptionpublic Attachment.DataCase getDataCase()
getDataCase in interface AttachmentOrBuilderpublic Attachment.Builder clearData()
public boolean hasCsv()
A CSV file attachment. Max size is 10 MB.
.google.cloud.advisorynotifications.v1.Csv csv = 2;hasCsv in interface AttachmentOrBuilderpublic Csv getCsv()
A CSV file attachment. Max size is 10 MB.
.google.cloud.advisorynotifications.v1.Csv csv = 2;getCsv in interface AttachmentOrBuilderpublic Attachment.Builder setCsv(Csv value)
A CSV file attachment. Max size is 10 MB.
.google.cloud.advisorynotifications.v1.Csv csv = 2;public Attachment.Builder setCsv(Csv.Builder builderForValue)
A CSV file attachment. Max size is 10 MB.
.google.cloud.advisorynotifications.v1.Csv csv = 2;public Attachment.Builder mergeCsv(Csv value)
A CSV file attachment. Max size is 10 MB.
.google.cloud.advisorynotifications.v1.Csv csv = 2;public Attachment.Builder clearCsv()
A CSV file attachment. Max size is 10 MB.
.google.cloud.advisorynotifications.v1.Csv csv = 2;public Csv.Builder getCsvBuilder()
A CSV file attachment. Max size is 10 MB.
.google.cloud.advisorynotifications.v1.Csv csv = 2;public CsvOrBuilder getCsvOrBuilder()
A CSV file attachment. Max size is 10 MB.
.google.cloud.advisorynotifications.v1.Csv csv = 2;getCsvOrBuilder in interface AttachmentOrBuilderpublic String getDisplayName()
The title of the attachment.
string display_name = 1;getDisplayName in interface AttachmentOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
The title of the attachment.
string display_name = 1;getDisplayNameBytes in interface AttachmentOrBuilderpublic Attachment.Builder setDisplayName(String value)
The title of the attachment.
string display_name = 1;value - The displayName to set.public Attachment.Builder clearDisplayName()
The title of the attachment.
string display_name = 1;public Attachment.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
The title of the attachment.
string display_name = 1;value - The bytes for displayName to set.public final Attachment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Attachment.Builder>public final Attachment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Attachment.Builder>Copyright © 2023 Google LLC. All rights reserved.