Class IngestionLabel.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<IngestionLabel.Builder>
com.google.cloud.chronicle.v1.IngestionLabel.Builder
All Implemented Interfaces:
IngestionLabelOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
IngestionLabel

public static final class IngestionLabel.Builder extends com.google.protobuf.GeneratedMessage.Builder<IngestionLabel.Builder> implements IngestionLabelOrBuilder
 Representation of an ingestion label type.
 
Protobuf type google.cloud.chronicle.v1.IngestionLabel
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<IngestionLabel.Builder>
    • clear

      public IngestionLabel.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<IngestionLabel.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<IngestionLabel.Builder>
    • getDefaultInstanceForType

      public IngestionLabel getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public IngestionLabel build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public IngestionLabel buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public IngestionLabel.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<IngestionLabel.Builder>
    • mergeFrom

      public IngestionLabel.Builder mergeFrom(IngestionLabel other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<IngestionLabel.Builder>
    • mergeFrom

      public IngestionLabel.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<IngestionLabel.Builder>
      Throws:
      IOException
    • getIngestionLabelKey

      public String getIngestionLabelKey()
       Required. The key of the ingestion label. Always required.
       
      string ingestion_label_key = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getIngestionLabelKey in interface IngestionLabelOrBuilder
      Returns:
      The ingestionLabelKey.
    • getIngestionLabelKeyBytes

      public com.google.protobuf.ByteString getIngestionLabelKeyBytes()
       Required. The key of the ingestion label. Always required.
       
      string ingestion_label_key = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getIngestionLabelKeyBytes in interface IngestionLabelOrBuilder
      Returns:
      The bytes for ingestionLabelKey.
    • setIngestionLabelKey

      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];
      Parameters:
      value - The ingestionLabelKey to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setIngestionLabelKeyBytes

      public IngestionLabel.Builder setIngestionLabelKeyBytes(com.google.protobuf.ByteString value)
       Required. The key of the ingestion label. Always required.
       
      string ingestion_label_key = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for ingestionLabelKey to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getIngestionLabelValue in interface IngestionLabelOrBuilder
      Returns:
      The ingestionLabelValue.
    • getIngestionLabelValueBytes

      public com.google.protobuf.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];
      Specified by:
      getIngestionLabelValueBytes in interface IngestionLabelOrBuilder
      Returns:
      The bytes for ingestionLabelValue.
    • setIngestionLabelValue

      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];
      Parameters:
      value - The ingestionLabelValue to set.
      Returns:
      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:
      This builder for chaining.
    • setIngestionLabelValueBytes

      public IngestionLabel.Builder setIngestionLabelValueBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for ingestionLabelValue to set.
      Returns:
      This builder for chaining.