/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/type/datetime.proto
package org.apache.rocketmq.shaded.com.google.type;
public interface DateTimeOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.type.DateTime)
org.apache.rocketmq.shaded.com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a
* datetime without a year.
*
*
* int32 year = 1;
*
* @return The year.
*/
int getYear();
/**
*
*
*
* Required. Month of year. Must be from 1 to 12.
*
*
* int32 month = 2;
*
* @return The month.
*/
int getMonth();
/**
*
*
*
* Required. Day of month. Must be from 1 to 31 and valid for the year and
* month.
*
*
* int32 day = 3;
*
* @return The day.
*/
int getDay();
/**
*
*
*
* Required. Hours of day in 24 hour format. Should be from 0 to 23. An API
* may choose to allow the value "24:00:00" for scenarios like business
* closing time.
*
*
* int32 hours = 4;
*
* @return The hours.
*/
int getHours();
/**
*
*
*
* Required. Minutes of hour of day. Must be from 0 to 59.
*
*
* int32 minutes = 5;
*
* @return The minutes.
*/
int getMinutes();
/**
*
*
*
* Required. Seconds of minutes of the time. Must normally be from 0 to 59. An
* API may allow the value 60 if it allows leap-seconds.
*
*
* int32 seconds = 6;
*
* @return The seconds.
*/
int getSeconds();
/**
*
*
*
* Required. Fractions of seconds in nanoseconds. Must be from 0 to
* 999,999,999.
*
*
* int32 nanos = 7;
*
* @return The nanos.
*/
int getNanos();
/**
*
*
*
* UTC offset. Must be whole seconds, between -18 hours and +18 hours.
* For example, a UTC offset of -4:00 would be represented as
* { seconds: -14400 }.
*
*
* .google.protobuf.Duration utc_offset = 8;
*
* @return Whether the utcOffset field is set.
*/
boolean hasUtcOffset();
/**
*
*
*
* UTC offset. Must be whole seconds, between -18 hours and +18 hours.
* For example, a UTC offset of -4:00 would be represented as
* { seconds: -14400 }.
*
*
* .google.protobuf.Duration utc_offset = 8;
*
* @return The utcOffset.
*/
org.apache.rocketmq.shaded.com.google.protobuf.Duration getUtcOffset();
/**
*
*
*
* UTC offset. Must be whole seconds, between -18 hours and +18 hours.
* For example, a UTC offset of -4:00 would be represented as
* { seconds: -14400 }.
*
*
* .google.protobuf.Duration utc_offset = 8;
*/
org.apache.rocketmq.shaded.com.google.protobuf.DurationOrBuilder getUtcOffsetOrBuilder();
/**
*
*
*
* Time zone.
*
*
* .google.type.TimeZone time_zone = 9;
*
* @return Whether the timeZone field is set.
*/
boolean hasTimeZone();
/**
*
*
*
* Time zone.
*
*
* .google.type.TimeZone time_zone = 9;
*
* @return The timeZone.
*/
org.apache.rocketmq.shaded.com.google.type.TimeZone getTimeZone();
/**
*
*
*
* Time zone.
*
*
* .google.type.TimeZone time_zone = 9;
*/
org.apache.rocketmq.shaded.com.google.type.TimeZoneOrBuilder getTimeZoneOrBuilder();
public org.apache.rocketmq.shaded.com.google.type.DateTime.TimeOffsetCase getTimeOffsetCase();
}