Interface PeriodOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Period, Period.Builder

    public interface PeriodOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getDuration()
      Total duration of Period Type defined.
      PeriodType getPeriodType()
      Period Type.
      int getPeriodTypeValue()
      Period Type.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getDuration

        int getDuration()
         Total duration of Period Type defined.
         
        int32 duration = 1;
        Returns:
        The duration.
      • getPeriodTypeValue

        int getPeriodTypeValue()
         Period Type.
         
        .google.cloud.channel.v1.PeriodType period_type = 2;
        Returns:
        The enum numeric value on the wire for periodType.
      • getPeriodType

        PeriodType getPeriodType()
         Period Type.
         
        .google.cloud.channel.v1.PeriodType period_type = 2;
        Returns:
        The periodType.