Package com.google.cloud.channel.v1
Interface PeriodOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Period,Period.Builder
@Generated
public interface PeriodOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintTotal duration of Period Type defined.Period Type.intPeriod Type.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-