public static final class Subject.Builder extends GeneratedMessageV3.Builder<Subject.Builder> implements SubjectOrBuilder
A subject line of a notification.
Protobuf type google.cloud.advisorynotifications.v1.Subject
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Subject.BuilderImplements
SubjectOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Subject.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Subject.Builder |
build()
public Subject build()
Type | Description |
Subject |
buildPartial()
public Subject buildPartial()
Type | Description |
Subject |
clear()
public Subject.Builder clear()
Type | Description |
Subject.Builder |
clearField(Descriptors.FieldDescriptor field)
public Subject.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Subject.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Subject.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Subject.Builder |
clearText()
public Subject.Builder clearText()
The text content.
.google.cloud.advisorynotifications.v1.Text text = 1;
Type | Description |
Subject.Builder |
clone()
public Subject.Builder clone()
Type | Description |
Subject.Builder |
getDefaultInstanceForType()
public Subject getDefaultInstanceForType()
Type | Description |
Subject |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getText()
public Text getText()
The text content.
.google.cloud.advisorynotifications.v1.Text text = 1;
Type | Description |
Text | The text. |
getTextBuilder()
public Text.Builder getTextBuilder()
The text content.
.google.cloud.advisorynotifications.v1.Text text = 1;
Type | Description |
Text.Builder |
getTextOrBuilder()
public TextOrBuilder getTextOrBuilder()
The text content.
.google.cloud.advisorynotifications.v1.Text text = 1;
Type | Description |
TextOrBuilder |
hasText()
public boolean hasText()
The text content.
.google.cloud.advisorynotifications.v1.Text text = 1;
Type | Description |
boolean | Whether the text field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Subject other)
public Subject.Builder mergeFrom(Subject other)
Name | Description |
other | Subject |
Type | Description |
Subject.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Subject.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Subject.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Subject.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Subject.Builder |
mergeText(Text value)
public Subject.Builder mergeText(Text value)
The text content.
.google.cloud.advisorynotifications.v1.Text text = 1;
Name | Description |
value | Text |
Type | Description |
Subject.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Subject.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Subject.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Subject.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Subject.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Subject.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Subject.Builder |
setText(Text value)
public Subject.Builder setText(Text value)
The text content.
.google.cloud.advisorynotifications.v1.Text text = 1;
Name | Description |
value | Text |
Type | Description |
Subject.Builder |
setText(Text.Builder builderForValue)
public Subject.Builder setText(Text.Builder builderForValue)
The text content.
.google.cloud.advisorynotifications.v1.Text text = 1;
Name | Description |
builderForValue | Text.Builder |
Type | Description |
Subject.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Subject.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Subject.Builder |