Class ReportValue.Builder

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

public static final class ReportValue.Builder extends com.google.protobuf.GeneratedMessage.Builder<ReportValue.Builder> implements ReportValueOrBuilder
 A single report value.
 
Protobuf type google.cloud.channel.v1.ReportValue
  • 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<ReportValue.Builder>
    • clear

      public ReportValue.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<ReportValue.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<ReportValue.Builder>
    • getDefaultInstanceForType

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

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

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

      public ReportValue.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<ReportValue.Builder>
    • mergeFrom

      public ReportValue.Builder mergeFrom(ReportValue other)
    • isInitialized

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

      public ReportValue.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<ReportValue.Builder>
      Throws:
      IOException
    • getValueCase

      public ReportValue.ValueCase getValueCase()
      Specified by:
      getValueCase in interface ReportValueOrBuilder
    • clearValue

      public ReportValue.Builder clearValue()
    • hasStringValue

      public boolean hasStringValue()
       A value of type `string`.
       
      string string_value = 1;
      Specified by:
      hasStringValue in interface ReportValueOrBuilder
      Returns:
      Whether the stringValue field is set.
    • getStringValue

      public String getStringValue()
       A value of type `string`.
       
      string string_value = 1;
      Specified by:
      getStringValue in interface ReportValueOrBuilder
      Returns:
      The stringValue.
    • getStringValueBytes

      public com.google.protobuf.ByteString getStringValueBytes()
       A value of type `string`.
       
      string string_value = 1;
      Specified by:
      getStringValueBytes in interface ReportValueOrBuilder
      Returns:
      The bytes for stringValue.
    • setStringValue

      public ReportValue.Builder setStringValue(String value)
       A value of type `string`.
       
      string string_value = 1;
      Parameters:
      value - The stringValue to set.
      Returns:
      This builder for chaining.
    • clearStringValue

      public ReportValue.Builder clearStringValue()
       A value of type `string`.
       
      string string_value = 1;
      Returns:
      This builder for chaining.
    • setStringValueBytes

      public ReportValue.Builder setStringValueBytes(com.google.protobuf.ByteString value)
       A value of type `string`.
       
      string string_value = 1;
      Parameters:
      value - The bytes for stringValue to set.
      Returns:
      This builder for chaining.
    • hasIntValue

      public boolean hasIntValue()
       A value of type `int`.
       
      int64 int_value = 2;
      Specified by:
      hasIntValue in interface ReportValueOrBuilder
      Returns:
      Whether the intValue field is set.
    • getIntValue

      public long getIntValue()
       A value of type `int`.
       
      int64 int_value = 2;
      Specified by:
      getIntValue in interface ReportValueOrBuilder
      Returns:
      The intValue.
    • setIntValue

      public ReportValue.Builder setIntValue(long value)
       A value of type `int`.
       
      int64 int_value = 2;
      Parameters:
      value - The intValue to set.
      Returns:
      This builder for chaining.
    • clearIntValue

      public ReportValue.Builder clearIntValue()
       A value of type `int`.
       
      int64 int_value = 2;
      Returns:
      This builder for chaining.
    • hasDecimalValue

      public boolean hasDecimalValue()
       A value of type `google.type.Decimal`, representing non-integer numeric
       values.
       
      .google.type.Decimal decimal_value = 3;
      Specified by:
      hasDecimalValue in interface ReportValueOrBuilder
      Returns:
      Whether the decimalValue field is set.
    • getDecimalValue

      public Decimal getDecimalValue()
       A value of type `google.type.Decimal`, representing non-integer numeric
       values.
       
      .google.type.Decimal decimal_value = 3;
      Specified by:
      getDecimalValue in interface ReportValueOrBuilder
      Returns:
      The decimalValue.
    • setDecimalValue

      public ReportValue.Builder setDecimalValue(Decimal value)
       A value of type `google.type.Decimal`, representing non-integer numeric
       values.
       
      .google.type.Decimal decimal_value = 3;
    • setDecimalValue

      public ReportValue.Builder setDecimalValue(Decimal.Builder builderForValue)
       A value of type `google.type.Decimal`, representing non-integer numeric
       values.
       
      .google.type.Decimal decimal_value = 3;
    • mergeDecimalValue

      public ReportValue.Builder mergeDecimalValue(Decimal value)
       A value of type `google.type.Decimal`, representing non-integer numeric
       values.
       
      .google.type.Decimal decimal_value = 3;
    • clearDecimalValue

      public ReportValue.Builder clearDecimalValue()
       A value of type `google.type.Decimal`, representing non-integer numeric
       values.
       
      .google.type.Decimal decimal_value = 3;
    • getDecimalValueBuilder

      public Decimal.Builder getDecimalValueBuilder()
       A value of type `google.type.Decimal`, representing non-integer numeric
       values.
       
      .google.type.Decimal decimal_value = 3;
    • getDecimalValueOrBuilder

      public DecimalOrBuilder getDecimalValueOrBuilder()
       A value of type `google.type.Decimal`, representing non-integer numeric
       values.
       
      .google.type.Decimal decimal_value = 3;
      Specified by:
      getDecimalValueOrBuilder in interface ReportValueOrBuilder
    • hasMoneyValue

      public boolean hasMoneyValue()
       A value of type `google.type.Money` (currency code, whole units, decimal
       units).
       
      .google.type.Money money_value = 4;
      Specified by:
      hasMoneyValue in interface ReportValueOrBuilder
      Returns:
      Whether the moneyValue field is set.
    • getMoneyValue

      public Money getMoneyValue()
       A value of type `google.type.Money` (currency code, whole units, decimal
       units).
       
      .google.type.Money money_value = 4;
      Specified by:
      getMoneyValue in interface ReportValueOrBuilder
      Returns:
      The moneyValue.
    • setMoneyValue

      public ReportValue.Builder setMoneyValue(Money value)
       A value of type `google.type.Money` (currency code, whole units, decimal
       units).
       
      .google.type.Money money_value = 4;
    • setMoneyValue

      public ReportValue.Builder setMoneyValue(Money.Builder builderForValue)
       A value of type `google.type.Money` (currency code, whole units, decimal
       units).
       
      .google.type.Money money_value = 4;
    • mergeMoneyValue

      public ReportValue.Builder mergeMoneyValue(Money value)
       A value of type `google.type.Money` (currency code, whole units, decimal
       units).
       
      .google.type.Money money_value = 4;
    • clearMoneyValue

      public ReportValue.Builder clearMoneyValue()
       A value of type `google.type.Money` (currency code, whole units, decimal
       units).
       
      .google.type.Money money_value = 4;
    • getMoneyValueBuilder

      public Money.Builder getMoneyValueBuilder()
       A value of type `google.type.Money` (currency code, whole units, decimal
       units).
       
      .google.type.Money money_value = 4;
    • getMoneyValueOrBuilder

      public MoneyOrBuilder getMoneyValueOrBuilder()
       A value of type `google.type.Money` (currency code, whole units, decimal
       units).
       
      .google.type.Money money_value = 4;
      Specified by:
      getMoneyValueOrBuilder in interface ReportValueOrBuilder
    • hasDateValue

      public boolean hasDateValue()
       A value of type `google.type.Date` (year, month, day).
       
      .google.type.Date date_value = 5;
      Specified by:
      hasDateValue in interface ReportValueOrBuilder
      Returns:
      Whether the dateValue field is set.
    • getDateValue

      public Date getDateValue()
       A value of type `google.type.Date` (year, month, day).
       
      .google.type.Date date_value = 5;
      Specified by:
      getDateValue in interface ReportValueOrBuilder
      Returns:
      The dateValue.
    • setDateValue

      public ReportValue.Builder setDateValue(Date value)
       A value of type `google.type.Date` (year, month, day).
       
      .google.type.Date date_value = 5;
    • setDateValue

      public ReportValue.Builder setDateValue(Date.Builder builderForValue)
       A value of type `google.type.Date` (year, month, day).
       
      .google.type.Date date_value = 5;
    • mergeDateValue

      public ReportValue.Builder mergeDateValue(Date value)
       A value of type `google.type.Date` (year, month, day).
       
      .google.type.Date date_value = 5;
    • clearDateValue

      public ReportValue.Builder clearDateValue()
       A value of type `google.type.Date` (year, month, day).
       
      .google.type.Date date_value = 5;
    • getDateValueBuilder

      public Date.Builder getDateValueBuilder()
       A value of type `google.type.Date` (year, month, day).
       
      .google.type.Date date_value = 5;
    • getDateValueOrBuilder

      public DateOrBuilder getDateValueOrBuilder()
       A value of type `google.type.Date` (year, month, day).
       
      .google.type.Date date_value = 5;
      Specified by:
      getDateValueOrBuilder in interface ReportValueOrBuilder
    • hasDateTimeValue

      public boolean hasDateTimeValue()
       A value of type `google.type.DateTime` (year, month, day, hour, minute,
       second, and UTC offset or timezone.)
       
      .google.type.DateTime date_time_value = 6;
      Specified by:
      hasDateTimeValue in interface ReportValueOrBuilder
      Returns:
      Whether the dateTimeValue field is set.
    • getDateTimeValue

      public DateTime getDateTimeValue()
       A value of type `google.type.DateTime` (year, month, day, hour, minute,
       second, and UTC offset or timezone.)
       
      .google.type.DateTime date_time_value = 6;
      Specified by:
      getDateTimeValue in interface ReportValueOrBuilder
      Returns:
      The dateTimeValue.
    • setDateTimeValue

      public ReportValue.Builder setDateTimeValue(DateTime value)
       A value of type `google.type.DateTime` (year, month, day, hour, minute,
       second, and UTC offset or timezone.)
       
      .google.type.DateTime date_time_value = 6;
    • setDateTimeValue

      public ReportValue.Builder setDateTimeValue(DateTime.Builder builderForValue)
       A value of type `google.type.DateTime` (year, month, day, hour, minute,
       second, and UTC offset or timezone.)
       
      .google.type.DateTime date_time_value = 6;
    • mergeDateTimeValue

      public ReportValue.Builder mergeDateTimeValue(DateTime value)
       A value of type `google.type.DateTime` (year, month, day, hour, minute,
       second, and UTC offset or timezone.)
       
      .google.type.DateTime date_time_value = 6;
    • clearDateTimeValue

      public ReportValue.Builder clearDateTimeValue()
       A value of type `google.type.DateTime` (year, month, day, hour, minute,
       second, and UTC offset or timezone.)
       
      .google.type.DateTime date_time_value = 6;
    • getDateTimeValueBuilder

      public DateTime.Builder getDateTimeValueBuilder()
       A value of type `google.type.DateTime` (year, month, day, hour, minute,
       second, and UTC offset or timezone.)
       
      .google.type.DateTime date_time_value = 6;
    • getDateTimeValueOrBuilder

      public DateTimeOrBuilder getDateTimeValueOrBuilder()
       A value of type `google.type.DateTime` (year, month, day, hour, minute,
       second, and UTC offset or timezone.)
       
      .google.type.DateTime date_time_value = 6;
      Specified by:
      getDateTimeValueOrBuilder in interface ReportValueOrBuilder