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.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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Attachment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Attachment build()
Returns
buildPartial()
public Attachment buildPartial()
Returns
clear()
public Attachment.Builder clear()
Returns
Overrides
clearCsv()
public Attachment.Builder clearCsv()
A CSV file attachment. Max size is 10 MB.
.google.cloud.advisorynotifications.v1.Csv csv = 2;
Returns
clearData()
public Attachment.Builder clearData()
Returns
clearDisplayName()
public Attachment.Builder clearDisplayName()
The title of the attachment.
string display_name = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public Attachment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Attachment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Attachment.Builder clone()
Returns
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;
Returns
getCsvOrBuilder()
public CsvOrBuilder getCsvOrBuilder()
A CSV file attachment. Max size is 10 MB.
.google.cloud.advisorynotifications.v1.Csv csv = 2;
Returns
getDataCase()
public Attachment.DataCase getDataCase()
Returns
getDefaultInstanceForType()
public Attachment getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(Attachment other)
public Attachment.Builder mergeFrom(Attachment other)
Parameter
Returns
public Attachment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Attachment.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Attachment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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;
Parameter
Returns
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.
|
Returns
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.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Attachment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Attachment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Attachment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides