Class Domain.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Domain.Builder>
-
- com.google.cloud.managedidentities.v1.Domain.Builder
-
- All Implemented Interfaces:
DomainOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Domain
public static final class Domain.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Domain.Builder> implements DomainOrBuilder
Represents a managed Microsoft Active Directory domain.
Protobuf typegoogle.cloud.managedidentities.v1.Domain
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Domain.Builder
addAllAuthorizedNetworks(Iterable<String> values)
Optional.Domain.Builder
addAllLocations(Iterable<String> values)
Required.Domain.Builder
addAllTrusts(Iterable<? extends Trust> values)
Output only.Domain.Builder
addAuthorizedNetworks(String value)
Optional.Domain.Builder
addAuthorizedNetworksBytes(com.google.protobuf.ByteString value)
Optional.Domain.Builder
addLocations(String value)
Required.Domain.Builder
addLocationsBytes(com.google.protobuf.ByteString value)
Required.Domain.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Domain.Builder
addTrusts(int index, Trust value)
Output only.Domain.Builder
addTrusts(int index, Trust.Builder builderForValue)
Output only.Domain.Builder
addTrusts(Trust value)
Output only.Domain.Builder
addTrusts(Trust.Builder builderForValue)
Output only.Trust.Builder
addTrustsBuilder()
Output only.Trust.Builder
addTrustsBuilder(int index)
Output only.Domain
build()
Domain
buildPartial()
Domain.Builder
clear()
Domain.Builder
clearAdmin()
Optional.Domain.Builder
clearAuthorizedNetworks()
Optional.Domain.Builder
clearCreateTime()
Output only.Domain.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Domain.Builder
clearFqdn()
Output only.Domain.Builder
clearLabels()
Domain.Builder
clearLocations()
Required.Domain.Builder
clearName()
Required.Domain.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Domain.Builder
clearReservedIpRange()
Required.Domain.Builder
clearState()
Output only.Domain.Builder
clearStatusMessage()
Output only.Domain.Builder
clearTrusts()
Output only.Domain.Builder
clearUpdateTime()
Output only.Domain.Builder
clone()
boolean
containsLabels(String key)
Optional.String
getAdmin()
Optional.com.google.protobuf.ByteString
getAdminBytes()
Optional.String
getAuthorizedNetworks(int index)
Optional.com.google.protobuf.ByteString
getAuthorizedNetworksBytes(int index)
Optional.int
getAuthorizedNetworksCount()
Optional.com.google.protobuf.ProtocolStringList
getAuthorizedNetworksList()
Optional.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Domain
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getFqdn()
Output only.com.google.protobuf.ByteString
getFqdnBytes()
Output only.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Optional.Map<String,String>
getLabelsMap()
Optional.String
getLabelsOrDefault(String key, String defaultValue)
Optional.String
getLabelsOrThrow(String key)
Optional.String
getLocations(int index)
Required.com.google.protobuf.ByteString
getLocationsBytes(int index)
Required.int
getLocationsCount()
Required.com.google.protobuf.ProtocolStringList
getLocationsList()
Required.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.String
getReservedIpRange()
Required.com.google.protobuf.ByteString
getReservedIpRangeBytes()
Required.Domain.State
getState()
Output only.int
getStateValue()
Output only.String
getStatusMessage()
Output only.com.google.protobuf.ByteString
getStatusMessageBytes()
Output only.Trust
getTrusts(int index)
Output only.Trust.Builder
getTrustsBuilder(int index)
Output only.List<Trust.Builder>
getTrustsBuilderList()
Output only.int
getTrustsCount()
Output only.List<Trust>
getTrustsList()
Output only.TrustOrBuilder
getTrustsOrBuilder(int index)
Output only.List<? extends TrustOrBuilder>
getTrustsOrBuilderList()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCreateTime()
Output only.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Domain.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Domain.Builder
mergeFrom(Domain other)
Domain.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Domain.Builder
mergeFrom(com.google.protobuf.Message other)
Domain.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Domain.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.Domain.Builder
putAllLabels(Map<String,String> values)
Optional.Domain.Builder
putLabels(String key, String value)
Optional.Domain.Builder
removeLabels(String key)
Optional.Domain.Builder
removeTrusts(int index)
Output only.Domain.Builder
setAdmin(String value)
Optional.Domain.Builder
setAdminBytes(com.google.protobuf.ByteString value)
Optional.Domain.Builder
setAuthorizedNetworks(int index, String value)
Optional.Domain.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Domain.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Domain.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Domain.Builder
setFqdn(String value)
Output only.Domain.Builder
setFqdnBytes(com.google.protobuf.ByteString value)
Output only.Domain.Builder
setLocations(int index, String value)
Required.Domain.Builder
setName(String value)
Required.Domain.Builder
setNameBytes(com.google.protobuf.ByteString value)
Required.Domain.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Domain.Builder
setReservedIpRange(String value)
Required.Domain.Builder
setReservedIpRangeBytes(com.google.protobuf.ByteString value)
Required.Domain.Builder
setState(Domain.State value)
Output only.Domain.Builder
setStateValue(int value)
Output only.Domain.Builder
setStatusMessage(String value)
Output only.Domain.Builder
setStatusMessageBytes(com.google.protobuf.ByteString value)
Output only.Domain.Builder
setTrusts(int index, Trust value)
Output only.Domain.Builder
setTrusts(int index, Trust.Builder builderForValue)
Output only.Domain.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Domain.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Domain.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, 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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Domain.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Domain.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Domain.Builder>
-
clear
public Domain.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<Domain.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<Domain.Builder>
-
getDefaultInstanceForType
public Domain getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Domain build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Domain buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Domain.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<Domain.Builder>
-
setField
public Domain.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<Domain.Builder>
-
clearField
public Domain.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<Domain.Builder>
-
clearOneof
public Domain.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<Domain.Builder>
-
setRepeatedField
public Domain.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<Domain.Builder>
-
addRepeatedField
public Domain.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<Domain.Builder>
-
mergeFrom
public Domain.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Domain.Builder>
-
mergeFrom
public Domain.Builder mergeFrom(Domain other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Domain.Builder>
-
mergeFrom
public Domain.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<Domain.Builder>
- Throws:
IOException
-
getName
public String getName()
Required. The unique name of the domain using the form: `projects/{project_id}/locations/global/domains/{domain_name}`.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getName
in interfaceDomainOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Required. The unique name of the domain using the form: `projects/{project_id}/locations/global/domains/{domain_name}`.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getNameBytes
in interfaceDomainOrBuilder
- Returns:
- The bytes for name.
-
setName
public Domain.Builder setName(String value)
Required. The unique name of the domain using the form: `projects/{project_id}/locations/global/domains/{domain_name}`.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Domain.Builder clearName()
Required. The unique name of the domain using the form: `projects/{project_id}/locations/global/domains/{domain_name}`.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
setNameBytes
public Domain.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The unique name of the domain using the form: `projects/{project_id}/locations/global/domains/{domain_name}`.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:DomainOrBuilder
Optional. Resource labels that can contain user-provided metadata.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsCount
in interfaceDomainOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Optional. Resource labels that can contain user-provided metadata.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
containsLabels
in interfaceDomainOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceDomainOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Optional. Resource labels that can contain user-provided metadata.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsMap
in interfaceDomainOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Optional. Resource labels that can contain user-provided metadata.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsOrDefault
in interfaceDomainOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Optional. Resource labels that can contain user-provided metadata.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsOrThrow
in interfaceDomainOrBuilder
-
clearLabels
public Domain.Builder clearLabels()
-
removeLabels
public Domain.Builder removeLabels(String key)
Optional. Resource labels that can contain user-provided metadata.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Domain.Builder putLabels(String key, String value)
Optional. Resource labels that can contain user-provided metadata.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
-
putAllLabels
public Domain.Builder putAllLabels(Map<String,String> values)
Optional. Resource labels that can contain user-provided metadata.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
-
getAuthorizedNetworksList
public com.google.protobuf.ProtocolStringList getAuthorizedNetworksList()
Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in `authorized_networks`. If CIDR subnets overlap between networks, domain creation will fail.
repeated string authorized_networks = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAuthorizedNetworksList
in interfaceDomainOrBuilder
- Returns:
- A list containing the authorizedNetworks.
-
getAuthorizedNetworksCount
public int getAuthorizedNetworksCount()
Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in `authorized_networks`. If CIDR subnets overlap between networks, domain creation will fail.
repeated string authorized_networks = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAuthorizedNetworksCount
in interfaceDomainOrBuilder
- Returns:
- The count of authorizedNetworks.
-
getAuthorizedNetworks
public String getAuthorizedNetworks(int index)
Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in `authorized_networks`. If CIDR subnets overlap between networks, domain creation will fail.
repeated string authorized_networks = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAuthorizedNetworks
in interfaceDomainOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The authorizedNetworks at the given index.
-
getAuthorizedNetworksBytes
public com.google.protobuf.ByteString getAuthorizedNetworksBytes(int index)
Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in `authorized_networks`. If CIDR subnets overlap between networks, domain creation will fail.
repeated string authorized_networks = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAuthorizedNetworksBytes
in interfaceDomainOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the authorizedNetworks at the given index.
-
setAuthorizedNetworks
public Domain.Builder setAuthorizedNetworks(int index, String value)
Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in `authorized_networks`. If CIDR subnets overlap between networks, domain creation will fail.
repeated string authorized_networks = 3 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
index
- The index to set the value at.value
- The authorizedNetworks to set.- Returns:
- This builder for chaining.
-
addAuthorizedNetworks
public Domain.Builder addAuthorizedNetworks(String value)
Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in `authorized_networks`. If CIDR subnets overlap between networks, domain creation will fail.
repeated string authorized_networks = 3 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The authorizedNetworks to add.- Returns:
- This builder for chaining.
-
addAllAuthorizedNetworks
public Domain.Builder addAllAuthorizedNetworks(Iterable<String> values)
Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in `authorized_networks`. If CIDR subnets overlap between networks, domain creation will fail.
repeated string authorized_networks = 3 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
values
- The authorizedNetworks to add.- Returns:
- This builder for chaining.
-
clearAuthorizedNetworks
public Domain.Builder clearAuthorizedNetworks()
Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in `authorized_networks`. If CIDR subnets overlap between networks, domain creation will fail.
repeated string authorized_networks = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
addAuthorizedNetworksBytes
public Domain.Builder addAuthorizedNetworksBytes(com.google.protobuf.ByteString value)
Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#networks) the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in `authorized_networks`. If CIDR subnets overlap between networks, domain creation will fail.
repeated string authorized_networks = 3 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes of the authorizedNetworks to add.- Returns:
- This builder for chaining.
-
getReservedIpRange
public String getReservedIpRange()
Required. The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in [Domain].[authorized_networks].
string reserved_ip_range = 4 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getReservedIpRange
in interfaceDomainOrBuilder
- Returns:
- The reservedIpRange.
-
getReservedIpRangeBytes
public com.google.protobuf.ByteString getReservedIpRangeBytes()
Required. The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in [Domain].[authorized_networks].
string reserved_ip_range = 4 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getReservedIpRangeBytes
in interfaceDomainOrBuilder
- Returns:
- The bytes for reservedIpRange.
-
setReservedIpRange
public Domain.Builder setReservedIpRange(String value)
Required. The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in [Domain].[authorized_networks].
string reserved_ip_range = 4 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The reservedIpRange to set.- Returns:
- This builder for chaining.
-
clearReservedIpRange
public Domain.Builder clearReservedIpRange()
Required. The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in [Domain].[authorized_networks].
string reserved_ip_range = 4 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
setReservedIpRangeBytes
public Domain.Builder setReservedIpRangeBytes(com.google.protobuf.ByteString value)
Required. The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in [Domain].[authorized_networks].
string reserved_ip_range = 4 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The bytes for reservedIpRange to set.- Returns:
- This builder for chaining.
-
getLocationsList
public com.google.protobuf.ProtocolStringList getLocationsList()
Required. Locations where domain needs to be provisioned. [regions][compute/docs/regions-zones/] e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.
repeated string locations = 5 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getLocationsList
in interfaceDomainOrBuilder
- Returns:
- A list containing the locations.
-
getLocationsCount
public int getLocationsCount()
Required. Locations where domain needs to be provisioned. [regions][compute/docs/regions-zones/] e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.
repeated string locations = 5 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getLocationsCount
in interfaceDomainOrBuilder
- Returns:
- The count of locations.
-
getLocations
public String getLocations(int index)
Required. Locations where domain needs to be provisioned. [regions][compute/docs/regions-zones/] e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.
repeated string locations = 5 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getLocations
in interfaceDomainOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The locations at the given index.
-
getLocationsBytes
public com.google.protobuf.ByteString getLocationsBytes(int index)
Required. Locations where domain needs to be provisioned. [regions][compute/docs/regions-zones/] e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.
repeated string locations = 5 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getLocationsBytes
in interfaceDomainOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the locations at the given index.
-
setLocations
public Domain.Builder setLocations(int index, String value)
Required. Locations where domain needs to be provisioned. [regions][compute/docs/regions-zones/] e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.
repeated string locations = 5 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
index
- The index to set the value at.value
- The locations to set.- Returns:
- This builder for chaining.
-
addLocations
public Domain.Builder addLocations(String value)
Required. Locations where domain needs to be provisioned. [regions][compute/docs/regions-zones/] e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.
repeated string locations = 5 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The locations to add.- Returns:
- This builder for chaining.
-
addAllLocations
public Domain.Builder addAllLocations(Iterable<String> values)
Required. Locations where domain needs to be provisioned. [regions][compute/docs/regions-zones/] e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.
repeated string locations = 5 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
values
- The locations to add.- Returns:
- This builder for chaining.
-
clearLocations
public Domain.Builder clearLocations()
Required. Locations where domain needs to be provisioned. [regions][compute/docs/regions-zones/] e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.
repeated string locations = 5 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
addLocationsBytes
public Domain.Builder addLocationsBytes(com.google.protobuf.ByteString value)
Required. Locations where domain needs to be provisioned. [regions][compute/docs/regions-zones/] e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.
repeated string locations = 5 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The bytes of the locations to add.- Returns:
- This builder for chaining.
-
getAdmin
public String getAdmin()
Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, `setupadmin` will be used.
string admin = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAdmin
in interfaceDomainOrBuilder
- Returns:
- The admin.
-
getAdminBytes
public com.google.protobuf.ByteString getAdminBytes()
Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, `setupadmin` will be used.
string admin = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getAdminBytes
in interfaceDomainOrBuilder
- Returns:
- The bytes for admin.
-
setAdmin
public Domain.Builder setAdmin(String value)
Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, `setupadmin` will be used.
string admin = 6 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The admin to set.- Returns:
- This builder for chaining.
-
clearAdmin
public Domain.Builder clearAdmin()
Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, `setupadmin` will be used.
string admin = 6 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setAdminBytes
public Domain.Builder setAdminBytes(com.google.protobuf.ByteString value)
Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, `setupadmin` will be used.
string admin = 6 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for admin to set.- Returns:
- This builder for chaining.
-
getFqdn
public String getFqdn()
Output only. The fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory set up on an internal network.
string fqdn = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getFqdn
in interfaceDomainOrBuilder
- Returns:
- The fqdn.
-
getFqdnBytes
public com.google.protobuf.ByteString getFqdnBytes()
Output only. The fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory set up on an internal network.
string fqdn = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getFqdnBytes
in interfaceDomainOrBuilder
- Returns:
- The bytes for fqdn.
-
setFqdn
public Domain.Builder setFqdn(String value)
Output only. The fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory set up on an internal network.
string fqdn = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The fqdn to set.- Returns:
- This builder for chaining.
-
clearFqdn
public Domain.Builder clearFqdn()
Output only. The fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory set up on an internal network.
string fqdn = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setFqdnBytes
public Domain.Builder setFqdnBytes(com.google.protobuf.ByteString value)
Output only. The fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory set up on an internal network.
string fqdn = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for fqdn to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceDomainOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceDomainOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public Domain.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Domain.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Domain.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public Domain.Builder clearCreateTime()
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceDomainOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The last update time.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceDomainOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The last update time.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceDomainOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public Domain.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last update time.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public Domain.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The last update time.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public Domain.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last update time.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public Domain.Builder clearUpdateTime()
Output only. The last update time.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The last update time.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last update time.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceDomainOrBuilder
-
getStateValue
public int getStateValue()
Output only. The current state of this domain.
.google.cloud.managedidentities.v1.Domain.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in interfaceDomainOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public Domain.Builder setStateValue(int value)
Output only. The current state of this domain.
.google.cloud.managedidentities.v1.Domain.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public Domain.State getState()
Output only. The current state of this domain.
.google.cloud.managedidentities.v1.Domain.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfaceDomainOrBuilder
- Returns:
- The state.
-
setState
public Domain.Builder setState(Domain.State value)
Output only. The current state of this domain.
.google.cloud.managedidentities.v1.Domain.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
public Domain.Builder clearState()
Output only. The current state of this domain.
.google.cloud.managedidentities.v1.Domain.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getStatusMessage
public String getStatusMessage()
Output only. Additional information about the current status of this domain, if available.
string status_message = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStatusMessage
in interfaceDomainOrBuilder
- Returns:
- The statusMessage.
-
getStatusMessageBytes
public com.google.protobuf.ByteString getStatusMessageBytes()
Output only. Additional information about the current status of this domain, if available.
string status_message = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStatusMessageBytes
in interfaceDomainOrBuilder
- Returns:
- The bytes for statusMessage.
-
setStatusMessage
public Domain.Builder setStatusMessage(String value)
Output only. Additional information about the current status of this domain, if available.
string status_message = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The statusMessage to set.- Returns:
- This builder for chaining.
-
clearStatusMessage
public Domain.Builder clearStatusMessage()
Output only. Additional information about the current status of this domain, if available.
string status_message = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setStatusMessageBytes
public Domain.Builder setStatusMessageBytes(com.google.protobuf.ByteString value)
Output only. Additional information about the current status of this domain, if available.
string status_message = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for statusMessage to set.- Returns:
- This builder for chaining.
-
getTrustsList
public List<Trust> getTrustsList()
Output only. The current trusts associated with the domain.
repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTrustsList
in interfaceDomainOrBuilder
-
getTrustsCount
public int getTrustsCount()
Output only. The current trusts associated with the domain.
repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTrustsCount
in interfaceDomainOrBuilder
-
getTrusts
public Trust getTrusts(int index)
Output only. The current trusts associated with the domain.
repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTrusts
in interfaceDomainOrBuilder
-
setTrusts
public Domain.Builder setTrusts(int index, Trust value)
Output only. The current trusts associated with the domain.
repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setTrusts
public Domain.Builder setTrusts(int index, Trust.Builder builderForValue)
Output only. The current trusts associated with the domain.
repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addTrusts
public Domain.Builder addTrusts(Trust value)
Output only. The current trusts associated with the domain.
repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addTrusts
public Domain.Builder addTrusts(int index, Trust value)
Output only. The current trusts associated with the domain.
repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addTrusts
public Domain.Builder addTrusts(Trust.Builder builderForValue)
Output only. The current trusts associated with the domain.
repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addTrusts
public Domain.Builder addTrusts(int index, Trust.Builder builderForValue)
Output only. The current trusts associated with the domain.
repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addAllTrusts
public Domain.Builder addAllTrusts(Iterable<? extends Trust> values)
Output only. The current trusts associated with the domain.
repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearTrusts
public Domain.Builder clearTrusts()
Output only. The current trusts associated with the domain.
repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
removeTrusts
public Domain.Builder removeTrusts(int index)
Output only. The current trusts associated with the domain.
repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getTrustsBuilder
public Trust.Builder getTrustsBuilder(int index)
Output only. The current trusts associated with the domain.
repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getTrustsOrBuilder
public TrustOrBuilder getTrustsOrBuilder(int index)
Output only. The current trusts associated with the domain.
repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTrustsOrBuilder
in interfaceDomainOrBuilder
-
getTrustsOrBuilderList
public List<? extends TrustOrBuilder> getTrustsOrBuilderList()
Output only. The current trusts associated with the domain.
repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTrustsOrBuilderList
in interfaceDomainOrBuilder
-
addTrustsBuilder
public Trust.Builder addTrustsBuilder()
Output only. The current trusts associated with the domain.
repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addTrustsBuilder
public Trust.Builder addTrustsBuilder(int index)
Output only. The current trusts associated with the domain.
repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getTrustsBuilderList
public List<Trust.Builder> getTrustsBuilderList()
Output only. The current trusts associated with the domain.
repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUnknownFields
public final Domain.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Domain.Builder>
-
mergeUnknownFields
public final Domain.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Domain.Builder>
-
-