Class SilenceData.Builder (2.27.0)

public static final class SilenceData.Builder extends GeneratedMessageV3.Builder<SilenceData.Builder> implements SilenceDataOrBuilder

The data for a silence annotation.

Protobuf type google.cloud.contactcenterinsights.v1.SilenceData

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SilenceData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SilenceData.Builder
Overrides

build()

public SilenceData build()
Returns
TypeDescription
SilenceData

buildPartial()

public SilenceData buildPartial()
Returns
TypeDescription
SilenceData

clear()

public SilenceData.Builder clear()
Returns
TypeDescription
SilenceData.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SilenceData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SilenceData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SilenceData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SilenceData.Builder
Overrides

clone()

public SilenceData.Builder clone()
Returns
TypeDescription
SilenceData.Builder
Overrides

getDefaultInstanceForType()

public SilenceData getDefaultInstanceForType()
Returns
TypeDescription
SilenceData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SilenceData other)

public SilenceData.Builder mergeFrom(SilenceData other)
Parameter
NameDescription
otherSilenceData
Returns
TypeDescription
SilenceData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SilenceData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SilenceData.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SilenceData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SilenceData.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SilenceData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SilenceData.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SilenceData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SilenceData.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SilenceData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SilenceData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SilenceData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SilenceData.Builder
Overrides