Class AccessLocations.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AccessLocations.Builder>
-
- com.google.cloud.accessapproval.v1.AccessLocations.Builder
-
- All Implemented Interfaces:
AccessLocationsOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- AccessLocations
public static final class AccessLocations.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AccessLocations.Builder> implements AccessLocationsOrBuilder
Home office and physical location of the principal.
Protobuf typegoogle.cloud.accessapproval.v1.AccessLocations
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessLocations.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AccessLocations
build()
AccessLocations
buildPartial()
AccessLocations.Builder
clear()
AccessLocations.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AccessLocations.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AccessLocations.Builder
clearPrincipalOfficeCountry()
The "home office" location of the principal.AccessLocations.Builder
clearPrincipalPhysicalLocationCountry()
Physical location of the principal at the time of the access.AccessLocations.Builder
clone()
AccessLocations
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getPrincipalOfficeCountry()
The "home office" location of the principal.com.google.protobuf.ByteString
getPrincipalOfficeCountryBytes()
The "home office" location of the principal.String
getPrincipalPhysicalLocationCountry()
Physical location of the principal at the time of the access.com.google.protobuf.ByteString
getPrincipalPhysicalLocationCountryBytes()
Physical location of the principal at the time of the access.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AccessLocations.Builder
mergeFrom(AccessLocations other)
AccessLocations.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AccessLocations.Builder
mergeFrom(com.google.protobuf.Message other)
AccessLocations.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AccessLocations.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AccessLocations.Builder
setPrincipalOfficeCountry(String value)
The "home office" location of the principal.AccessLocations.Builder
setPrincipalOfficeCountryBytes(com.google.protobuf.ByteString value)
The "home office" location of the principal.AccessLocations.Builder
setPrincipalPhysicalLocationCountry(String value)
Physical location of the principal at the time of the access.AccessLocations.Builder
setPrincipalPhysicalLocationCountryBytes(com.google.protobuf.ByteString value)
Physical location of the principal at the time of the access.AccessLocations.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AccessLocations.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AccessLocations.Builder>
-
clear
public AccessLocations.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AccessLocations.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AccessLocations.Builder>
-
getDefaultInstanceForType
public AccessLocations getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AccessLocations build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AccessLocations buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AccessLocations.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AccessLocations.Builder>
-
setField
public AccessLocations.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AccessLocations.Builder>
-
clearField
public AccessLocations.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AccessLocations.Builder>
-
clearOneof
public AccessLocations.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AccessLocations.Builder>
-
setRepeatedField
public AccessLocations.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AccessLocations.Builder>
-
addRepeatedField
public AccessLocations.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AccessLocations.Builder>
-
mergeFrom
public AccessLocations.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AccessLocations.Builder>
-
mergeFrom
public AccessLocations.Builder mergeFrom(AccessLocations other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AccessLocations.Builder>
-
mergeFrom
public AccessLocations.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AccessLocations.Builder>
- Throws:
IOException
-
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;
- Specified by:
getPrincipalOfficeCountry
in interfaceAccessLocationsOrBuilder
- Returns:
- The principalOfficeCountry.
-
getPrincipalOfficeCountryBytes
public com.google.protobuf.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;
- Specified by:
getPrincipalOfficeCountryBytes
in interfaceAccessLocationsOrBuilder
- Returns:
- The bytes for principalOfficeCountry.
-
setPrincipalOfficeCountry
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;
- Parameters:
value
- The principalOfficeCountry to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setPrincipalOfficeCountryBytes
public AccessLocations.Builder setPrincipalOfficeCountryBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for principalOfficeCountry to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getPrincipalPhysicalLocationCountry
in interfaceAccessLocationsOrBuilder
- Returns:
- The principalPhysicalLocationCountry.
-
getPrincipalPhysicalLocationCountryBytes
public com.google.protobuf.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;
- Specified by:
getPrincipalPhysicalLocationCountryBytes
in interfaceAccessLocationsOrBuilder
- Returns:
- The bytes for principalPhysicalLocationCountry.
-
setPrincipalPhysicalLocationCountry
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;
- Parameters:
value
- The principalPhysicalLocationCountry to set.- Returns:
- 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:
- This builder for chaining.
-
setPrincipalPhysicalLocationCountryBytes
public AccessLocations.Builder setPrincipalPhysicalLocationCountryBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for principalPhysicalLocationCountry to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final AccessLocations.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AccessLocations.Builder>
-
mergeUnknownFields
public final AccessLocations.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AccessLocations.Builder>
-
-