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.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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AccessLocations.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AccessLocations build()
Returns
buildPartial()
public AccessLocations buildPartial()
Returns
clear()
public AccessLocations.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public AccessLocations.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AccessLocations.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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;
Returns
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
clone()
public AccessLocations.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AccessLocations getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AccessLocations other)
public AccessLocations.Builder mergeFrom(AccessLocations other)
Parameter
Returns
public AccessLocations.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AccessLocations.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AccessLocations.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AccessLocations.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AccessLocations.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AccessLocations.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides