Class IngestionLabel.Builder (0.1.0)

public static final class IngestionLabel.Builder extends GeneratedMessageV3.Builder<IngestionLabel.Builder> implements IngestionLabelOrBuilder

Representation of an ingestion label type.

Protobuf type google.cloud.chronicle.v1.IngestionLabel

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IngestionLabel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IngestionLabel.Builder
Overrides

build()

public IngestionLabel build()
Returns
Type Description
IngestionLabel

buildPartial()

public IngestionLabel buildPartial()
Returns
Type Description
IngestionLabel

clear()

public IngestionLabel.Builder clear()
Returns
Type Description
IngestionLabel.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public IngestionLabel.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
IngestionLabel.Builder
Overrides

clearIngestionLabelKey()

public IngestionLabel.Builder clearIngestionLabelKey()

Required. The key of the ingestion label. Always required.

string ingestion_label_key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IngestionLabel.Builder

This builder for chaining.

clearIngestionLabelValue()

public IngestionLabel.Builder clearIngestionLabelValue()

Optional. The value of the ingestion label. Optional. An object with no provided value and some key provided would match against the given key and ANY value.

string ingestion_label_value = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionLabel.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public IngestionLabel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
IngestionLabel.Builder
Overrides

clone()

public IngestionLabel.Builder clone()
Returns
Type Description
IngestionLabel.Builder
Overrides

getDefaultInstanceForType()

public IngestionLabel getDefaultInstanceForType()
Returns
Type Description
IngestionLabel

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIngestionLabelKey()

public String getIngestionLabelKey()

Required. The key of the ingestion label. Always required.

string ingestion_label_key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The ingestionLabelKey.

getIngestionLabelKeyBytes()

public ByteString getIngestionLabelKeyBytes()

Required. The key of the ingestion label. Always required.

string ingestion_label_key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for ingestionLabelKey.

getIngestionLabelValue()

public String getIngestionLabelValue()

Optional. The value of the ingestion label. Optional. An object with no provided value and some key provided would match against the given key and ANY value.

string ingestion_label_value = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The ingestionLabelValue.

getIngestionLabelValueBytes()

public ByteString getIngestionLabelValueBytes()

Optional. The value of the ingestion label. Optional. An object with no provided value and some key provided would match against the given key and ANY value.

string ingestion_label_value = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for ingestionLabelValue.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IngestionLabel other)

public IngestionLabel.Builder mergeFrom(IngestionLabel other)
Parameter
Name Description
other IngestionLabel
Returns
Type Description
IngestionLabel.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IngestionLabel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionLabel.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public IngestionLabel.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
IngestionLabel.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IngestionLabel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IngestionLabel.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public IngestionLabel.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IngestionLabel.Builder
Overrides

setIngestionLabelKey(String value)

public IngestionLabel.Builder setIngestionLabelKey(String value)

Required. The key of the ingestion label. Always required.

string ingestion_label_key = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The ingestionLabelKey to set.

Returns
Type Description
IngestionLabel.Builder

This builder for chaining.

setIngestionLabelKeyBytes(ByteString value)

public IngestionLabel.Builder setIngestionLabelKeyBytes(ByteString value)

Required. The key of the ingestion label. Always required.

string ingestion_label_key = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for ingestionLabelKey to set.

Returns
Type Description
IngestionLabel.Builder

This builder for chaining.

setIngestionLabelValue(String value)

public IngestionLabel.Builder setIngestionLabelValue(String value)

Optional. The value of the ingestion label. Optional. An object with no provided value and some key provided would match against the given key and ANY value.

string ingestion_label_value = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The ingestionLabelValue to set.

Returns
Type Description
IngestionLabel.Builder

This builder for chaining.

setIngestionLabelValueBytes(ByteString value)

public IngestionLabel.Builder setIngestionLabelValueBytes(ByteString value)

Optional. The value of the ingestion label. Optional. An object with no provided value and some key provided would match against the given key and ANY value.

string ingestion_label_value = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for ingestionLabelValue to set.

Returns
Type Description
IngestionLabel.Builder

This builder for chaining.

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

public IngestionLabel.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
IngestionLabel.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final IngestionLabel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IngestionLabel.Builder
Overrides