Interface ContactOrBuilder (0.4.0)

public interface ContactOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEmail()

public abstract String getEmail()

Required. Email of the contact.

string email = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The email.

getEmailBytes()

public abstract ByteString getEmailBytes()

Required. Email of the contact.

string email = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for email.

getFamilyName()

public abstract String getFamilyName()

Optional. Family name of the contact.

string family_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The familyName.

getFamilyNameBytes()

public abstract ByteString getFamilyNameBytes()

Optional. Family name of the contact.

string family_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for familyName.

getGivenName()

public abstract String getGivenName()

Required. Given name of the contact.

string given_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The givenName.

getGivenNameBytes()

public abstract ByteString getGivenNameBytes()

Required. Given name of the contact.

string given_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for givenName.

getPhone()

public abstract String getPhone()

Required. Phone number of the contact.

string phone = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The phone.

getPhoneBytes()

public abstract ByteString getPhoneBytes()

Required. Phone number of the contact.

string phone = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for phone.

getReachableTimes(int index)

public abstract TimePeriod getReachableTimes(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
TimePeriod

getReachableTimesCount()

public abstract 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];

Returns
Type Description
int

getReachableTimesList()

public abstract 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];

Returns
Type Description
List<TimePeriod>

getReachableTimesOrBuilder(int index)

public abstract TimePeriodOrBuilder getReachableTimesOrBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
TimePeriodOrBuilder

getReachableTimesOrBuilderList()

public abstract 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];

Returns
Type Description
List<? extends com.google.cloud.gdchardwaremanagement.v1alpha.TimePeriodOrBuilder>

getTimeZone()

public abstract TimeZone getTimeZone()

Optional. Time zone of the contact.

.google.type.TimeZone time_zone = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.TimeZone

The timeZone.

getTimeZoneOrBuilder()

public abstract TimeZoneOrBuilder getTimeZoneOrBuilder()

Optional. Time zone of the contact.

.google.type.TimeZone time_zone = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.TimeZoneOrBuilder

hasTimeZone()

public abstract boolean hasTimeZone()

Optional. Time zone of the contact.

.google.type.TimeZone time_zone = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the timeZone field is set.