public static final class AccessLocations.Builder extends GeneratedMessageV3.Builder<AccessLocations.Builder> implements AccessLocationsOrBuilder
Home office and physical location of the principal.
Protobuf type google.cloud.accessapproval.v1.AccessLocations
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AccessLocations.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AccessLocations build()
buildPartial()
public AccessLocations buildPartial()
clear()
public AccessLocations.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AccessLocations.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AccessLocations.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
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;
clone()
public AccessLocations.Builder clone()
Overrides
getDefaultInstanceForType()
public AccessLocations getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AccessLocations other)
public AccessLocations.Builder mergeFrom(AccessLocations other)
public AccessLocations.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AccessLocations.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AccessLocations.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AccessLocations.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The principalOfficeCountry to set.
|
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 |
ByteString
The bytes for principalOfficeCountry to set.
|
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 |
String
The principalPhysicalLocationCountry to set.
|
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 |
ByteString
The bytes for principalPhysicalLocationCountry to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AccessLocations.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AccessLocations.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides