public static final class IngestionLabel.Builder extends GeneratedMessage.Builder<IngestionLabel.Builder> implements IngestionLabelOrBuilderRepresentation of an ingestion label type.
Protobuf type google.cloud.chronicle.v1.IngestionLabel
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > IngestionLabel.BuilderImplements
IngestionLabelOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
getDefaultInstanceForType()
public IngestionLabel getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
IngestionLabel |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public IngestionLabel.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
IngestionLabel.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for ingestionLabelValue to set. |
| Returns | |
|---|---|
| Type | Description |
IngestionLabel.Builder |
This builder for chaining. |