public static final class AccessLocations.Builder extends GeneratedMessage.Builder<AccessLocations.Builder> implements AccessLocationsOrBuilderHome office and physical location of the principal.
Protobuf type google.cloud.accessapproval.v1.AccessLocations
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AccessLocations.BuilderImplements
AccessLocationsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AccessLocations build()| Returns | |
|---|---|
| Type | Description |
AccessLocations |
|
buildPartial()
public AccessLocations buildPartial()| Returns | |
|---|---|
| Type | Description |
AccessLocations |
|
clear()
public AccessLocations.Builder clear()| Returns | |
|---|---|
| Type | Description |
AccessLocations.Builder |
|
clearPrincipalOfficeCountry()
public AccessLocations.Builder clearPrincipalOfficeCountry()The "home office" location of the principal. A two-letter country code (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or a region code. In some limited situations Google systems may refer refer to a region code instead of a country code. Possible Region Codes:
- ASI: Asia
- EUR: Europe
- OCE: Oceania
- AFR: Africa
- NAM: North America
- SAM: South America
- ANT: Antarctica
- ANY: Any location
string principal_office_country = 1;
| Returns | |
|---|---|
| Type | Description |
AccessLocations.Builder |
This builder for chaining. |
clearPrincipalPhysicalLocationCountry()
public AccessLocations.Builder clearPrincipalPhysicalLocationCountry()Physical location of the principal at the time of the access. A two-letter country code (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or a region code. In some limited situations Google systems may refer refer to a region code instead of a country code. Possible Region Codes:
- ASI: Asia
- EUR: Europe
- OCE: Oceania
- AFR: Africa
- NAM: North America
- SAM: South America
- ANT: Antarctica
- ANY: Any location
string principal_physical_location_country = 2;
| Returns | |
|---|---|
| Type | Description |
AccessLocations.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public AccessLocations getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AccessLocations |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPrincipalOfficeCountry()
public String getPrincipalOfficeCountry()The "home office" location of the principal. A two-letter country code (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or a region code. In some limited situations Google systems may refer refer to a region code instead of a country code. Possible Region Codes:
- ASI: Asia
- EUR: Europe
- OCE: Oceania
- AFR: Africa
- NAM: North America
- SAM: South America
- ANT: Antarctica
- ANY: Any location
string principal_office_country = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The principalOfficeCountry. |
getPrincipalOfficeCountryBytes()
public ByteString getPrincipalOfficeCountryBytes()The "home office" location of the principal. A two-letter country code (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or a region code. In some limited situations Google systems may refer refer to a region code instead of a country code. Possible Region Codes:
- ASI: Asia
- EUR: Europe
- OCE: Oceania
- AFR: Africa
- NAM: North America
- SAM: South America
- ANT: Antarctica
- ANY: Any location
string principal_office_country = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for principalOfficeCountry. |
getPrincipalPhysicalLocationCountry()
public String getPrincipalPhysicalLocationCountry()Physical location of the principal at the time of the access. A two-letter country code (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or a region code. In some limited situations Google systems may refer refer to a region code instead of a country code. Possible Region Codes:
- ASI: Asia
- EUR: Europe
- OCE: Oceania
- AFR: Africa
- NAM: North America
- SAM: South America
- ANT: Antarctica
- ANY: Any location
string principal_physical_location_country = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The principalPhysicalLocationCountry. |
getPrincipalPhysicalLocationCountryBytes()
public ByteString getPrincipalPhysicalLocationCountryBytes()Physical location of the principal at the time of the access. A two-letter country code (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or a region code. In some limited situations Google systems may refer refer to a region code instead of a country code. Possible Region Codes:
- ASI: Asia
- EUR: Europe
- OCE: Oceania
- AFR: Africa
- NAM: North America
- SAM: South America
- ANT: Antarctica
- ANY: Any location
string principal_physical_location_country = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for principalPhysicalLocationCountry. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AccessLocations other)
public AccessLocations.Builder mergeFrom(AccessLocations other)| Parameter | |
|---|---|
| Name | Description |
other |
AccessLocations |
| Returns | |
|---|---|
| Type | Description |
AccessLocations.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AccessLocations.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AccessLocations.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AccessLocations.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AccessLocations.Builder |
|
setPrincipalOfficeCountry(String value)
public AccessLocations.Builder setPrincipalOfficeCountry(String value)The "home office" location of the principal. A two-letter country code (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or a region code. In some limited situations Google systems may refer refer to a region code instead of a country code. Possible Region Codes:
- ASI: Asia
- EUR: Europe
- OCE: Oceania
- AFR: Africa
- NAM: North America
- SAM: South America
- ANT: Antarctica
- ANY: Any location
string principal_office_country = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe principalOfficeCountry to set. |
| Returns | |
|---|---|
| Type | Description |
AccessLocations.Builder |
This builder for chaining. |
setPrincipalOfficeCountryBytes(ByteString value)
public AccessLocations.Builder setPrincipalOfficeCountryBytes(ByteString value)The "home office" location of the principal. A two-letter country code (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or a region code. In some limited situations Google systems may refer refer to a region code instead of a country code. Possible Region Codes:
- ASI: Asia
- EUR: Europe
- OCE: Oceania
- AFR: Africa
- NAM: North America
- SAM: South America
- ANT: Antarctica
- ANY: Any location
string principal_office_country = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for principalOfficeCountry to set. |
| Returns | |
|---|---|
| Type | Description |
AccessLocations.Builder |
This builder for chaining. |
setPrincipalPhysicalLocationCountry(String value)
public AccessLocations.Builder setPrincipalPhysicalLocationCountry(String value)Physical location of the principal at the time of the access. A two-letter country code (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or a region code. In some limited situations Google systems may refer refer to a region code instead of a country code. Possible Region Codes:
- ASI: Asia
- EUR: Europe
- OCE: Oceania
- AFR: Africa
- NAM: North America
- SAM: South America
- ANT: Antarctica
- ANY: Any location
string principal_physical_location_country = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe principalPhysicalLocationCountry to set. |
| Returns | |
|---|---|
| Type | Description |
AccessLocations.Builder |
This builder for chaining. |
setPrincipalPhysicalLocationCountryBytes(ByteString value)
public AccessLocations.Builder setPrincipalPhysicalLocationCountryBytes(ByteString value)Physical location of the principal at the time of the access. A two-letter country code (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or a region code. In some limited situations Google systems may refer refer to a region code instead of a country code. Possible Region Codes:
- ASI: Asia
- EUR: Europe
- OCE: Oceania
- AFR: Africa
- NAM: North America
- SAM: South America
- ANT: Antarctica
- ANY: Any location
string principal_physical_location_country = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for principalPhysicalLocationCountry to set. |
| Returns | |
|---|---|
| Type | Description |
AccessLocations.Builder |
This builder for chaining. |