Interface ContactOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Contact,Contact.Builder
@Generated
public interface ContactOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetEmail()Required.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.Required.com.google.protobuf.ByteStringRequired.getPhone()Required.com.google.protobuf.ByteStringRequired.getReachableTimes(int index) Optional.intOptional.Optional.getReachableTimesOrBuilder(int index) Optional.List<? extends TimePeriodOrBuilder>Optional.Optional.Optional.booleanOptional.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
-
getGivenName
String getGivenName()Required. Given name of the contact.
string given_name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The givenName.
-
getGivenNameBytes
com.google.protobuf.ByteString getGivenNameBytes()Required. Given name of the contact.
string given_name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for givenName.
-
getFamilyName
String getFamilyName()Optional. Family name of the contact.
string family_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The familyName.
-
getFamilyNameBytes
com.google.protobuf.ByteString getFamilyNameBytes()Optional. Family name of the contact.
string family_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for familyName.
-
getEmail
String getEmail()Required. Email of the contact.
string email = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The email.
-
getEmailBytes
com.google.protobuf.ByteString getEmailBytes()Required. Email of the contact.
string email = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for email.
-
getPhone
String getPhone()Required. Phone number of the contact.
string phone = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The phone.
-
getPhoneBytes
com.google.protobuf.ByteString getPhoneBytes()Required. Phone number of the contact.
string phone = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for phone.
-
hasTimeZone
boolean hasTimeZone()Optional. Time zone of the contact.
.google.type.TimeZone time_zone = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the timeZone field is set.
-
getTimeZone
TimeZone getTimeZone()Optional. Time zone of the contact.
.google.type.TimeZone time_zone = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The timeZone.
-
getTimeZoneOrBuilder
TimeZoneOrBuilder getTimeZoneOrBuilder()Optional. Time zone of the contact.
.google.type.TimeZone time_zone = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getReachableTimesList
List<TimePeriod> getReachableTimesList()Optional. The time periods when the contact is reachable. If this field is empty, the contact is reachable at all times.
repeated .google.cloud.gdchardwaremanagement.v1alpha.TimePeriod reachable_times = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getReachableTimes
Optional. The time periods when the contact is reachable. If this field is empty, the contact is reachable at all times.
repeated .google.cloud.gdchardwaremanagement.v1alpha.TimePeriod reachable_times = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getReachableTimesCount
int getReachableTimesCount()Optional. The time periods when the contact is reachable. If this field is empty, the contact is reachable at all times.
repeated .google.cloud.gdchardwaremanagement.v1alpha.TimePeriod reachable_times = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getReachableTimesOrBuilderList
List<? extends TimePeriodOrBuilder> getReachableTimesOrBuilderList()Optional. The time periods when the contact is reachable. If this field is empty, the contact is reachable at all times.
repeated .google.cloud.gdchardwaremanagement.v1alpha.TimePeriod reachable_times = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getReachableTimesOrBuilder
Optional. The time periods when the contact is reachable. If this field is empty, the contact is reachable at all times.
repeated .google.cloud.gdchardwaremanagement.v1alpha.TimePeriod reachable_times = 6 [(.google.api.field_behavior) = OPTIONAL];
-