public static final class Attachment.Builder extends GeneratedMessageV3.Builder<Attachment.Builder> implements AttachmentOrBuilder
Attachment with specific information about the issue.
Protobuf type google.cloud.advisorynotifications.v1.Attachment
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Attachment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Attachment build()
buildPartial()
public Attachment buildPartial()
clear()
public Attachment.Builder clear()
Overrides
clearCsv()
public Attachment.Builder clearCsv()
A CSV file attachment. Max size is 10 MB.
.google.cloud.advisorynotifications.v1.Csv csv = 2;
clearData()
public Attachment.Builder clearData()
clearDisplayName()
public Attachment.Builder clearDisplayName()
The title of the attachment.
string display_name = 1;
clearField(Descriptors.FieldDescriptor field)
public Attachment.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Attachment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Attachment.Builder clone()
Overrides
getCsv()
A CSV file attachment. Max size is 10 MB.
.google.cloud.advisorynotifications.v1.Csv csv = 2;
Returns |
---|
Type | Description |
Csv | The csv.
|
getCsvBuilder()
public Csv.Builder getCsvBuilder()
A CSV file attachment. Max size is 10 MB.
.google.cloud.advisorynotifications.v1.Csv csv = 2;
getCsvOrBuilder()
public CsvOrBuilder getCsvOrBuilder()
A CSV file attachment. Max size is 10 MB.
.google.cloud.advisorynotifications.v1.Csv csv = 2;
getDataCase()
public Attachment.DataCase getDataCase()
getDefaultInstanceForType()
public Attachment getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDisplayName()
public String getDisplayName()
The title of the attachment.
string display_name = 1;
Returns |
---|
Type | Description |
String | The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The title of the attachment.
string display_name = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for displayName.
|
hasCsv()
A CSV file attachment. Max size is 10 MB.
.google.cloud.advisorynotifications.v1.Csv csv = 2;
Returns |
---|
Type | Description |
boolean | Whether the csv field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCsv(Csv value)
public Attachment.Builder mergeCsv(Csv value)
A CSV file attachment. Max size is 10 MB.
.google.cloud.advisorynotifications.v1.Csv csv = 2;
Parameter |
---|
Name | Description |
value | Csv
|
mergeFrom(Attachment other)
public Attachment.Builder mergeFrom(Attachment other)
public Attachment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Attachment.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Attachment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCsv(Csv value)
public Attachment.Builder setCsv(Csv value)
A CSV file attachment. Max size is 10 MB.
.google.cloud.advisorynotifications.v1.Csv csv = 2;
Parameter |
---|
Name | Description |
value | Csv
|
setCsv(Csv.Builder builderForValue)
public Attachment.Builder setCsv(Csv.Builder builderForValue)
A CSV file attachment. Max size is 10 MB.
.google.cloud.advisorynotifications.v1.Csv csv = 2;
setDisplayName(String value)
public Attachment.Builder setDisplayName(String value)
The title of the attachment.
string display_name = 1;
Parameter |
---|
Name | Description |
value | String
The displayName to set.
|
setDisplayNameBytes(ByteString value)
public Attachment.Builder setDisplayNameBytes(ByteString value)
The title of the attachment.
string display_name = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for displayName to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Attachment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Attachment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Attachment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides