public final class Domain extends com.google.protobuf.GeneratedMessageV3 implements DomainOrBuilder
Represents a managed Microsoft Active Directory domain.Protobuf type
google.cloud.managedidentities.v1.Domain| Modifier and Type | Class and Description |
|---|---|
static class |
Domain.Builder
Represents a managed Microsoft Active Directory domain.
|
static class |
Domain.State
Represents the different states of a managed domain.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ADMIN_FIELD_NUMBER |
static int |
AUTHORIZED_NETWORKS_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
FQDN_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
LOCATIONS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
RESERVED_IP_RANGE_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
STATUS_MESSAGE_FIELD_NUMBER |
static int |
TRUSTS_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Optional.
|
boolean |
equals(Object obj) |
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.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static Domain |
getDefaultInstance() |
Domain |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
com.google.protobuf.Parser<Domain> |
getParserForType() |
String |
getReservedIpRange()
Required.
|
com.google.protobuf.ByteString |
getReservedIpRangeBytes()
Required.
|
int |
getSerializedSize() |
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.
|
int |
getTrustsCount()
Output only.
|
List<Trust> |
getTrustsList()
Output only.
|
TrustOrBuilder |
getTrustsOrBuilder(int index)
Output only.
|
List<? extends TrustOrBuilder> |
getTrustsOrBuilderList()
Output only.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
int |
hashCode() |
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Domain.Builder |
newBuilder() |
static Domain.Builder |
newBuilder(Domain prototype) |
Domain.Builder |
newBuilderForType() |
protected Domain.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Domain |
parseDelimitedFrom(InputStream input) |
static Domain |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Domain |
parseFrom(byte[] data) |
static Domain |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Domain |
parseFrom(ByteBuffer data) |
static Domain |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Domain |
parseFrom(com.google.protobuf.ByteString data) |
static Domain |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Domain |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Domain |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Domain |
parseFrom(InputStream input) |
static Domain |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Domain> |
parser() |
Domain.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int AUTHORIZED_NETWORKS_FIELD_NUMBER
public static final int RESERVED_IP_RANGE_FIELD_NUMBER
public static final int LOCATIONS_FIELD_NUMBER
public static final int ADMIN_FIELD_NUMBER
public static final int FQDN_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int STATUS_MESSAGE_FIELD_NUMBER
public static final int TRUSTS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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];getName in interface DomainOrBuilderpublic 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];getNameBytes in interface DomainOrBuilderpublic int getLabelsCount()
DomainOrBuilderOptional. Resource labels that can contain user-provided metadata.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];getLabelsCount in interface DomainOrBuilderpublic boolean containsLabels(String key)
Optional. Resource labels that can contain user-provided metadata.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];containsLabels in interface DomainOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface DomainOrBuilderpublic Map<String,String> getLabelsMap()
Optional. Resource labels that can contain user-provided metadata.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];getLabelsMap in interface DomainOrBuilderpublic 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];getLabelsOrDefault in interface DomainOrBuilderpublic String getLabelsOrThrow(String key)
Optional. Resource labels that can contain user-provided metadata.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];getLabelsOrThrow in interface DomainOrBuilderpublic 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];getAuthorizedNetworksList in interface DomainOrBuilderpublic 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];getAuthorizedNetworksCount in interface DomainOrBuilderpublic 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];getAuthorizedNetworks in interface DomainOrBuilderindex - The index of the element to return.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];getAuthorizedNetworksBytes in interface DomainOrBuilderindex - The index of the value to return.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];getReservedIpRange in interface DomainOrBuilderpublic 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];getReservedIpRangeBytes in interface DomainOrBuilderpublic 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];getLocationsList in interface DomainOrBuilderpublic 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];getLocationsCount in interface DomainOrBuilderpublic 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];getLocations in interface DomainOrBuilderindex - The index of the element to return.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];getLocationsBytes in interface DomainOrBuilderindex - The index of the value to return.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];getAdmin in interface DomainOrBuilderpublic 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];getAdminBytes in interface DomainOrBuilderpublic 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];getFqdn in interface DomainOrBuilderpublic 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];getFqdnBytes in interface DomainOrBuilderpublic boolean hasCreateTime()
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface DomainOrBuilderpublic 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];
getCreateTime in interface DomainOrBuilderpublic 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];
getCreateTimeOrBuilder in interface DomainOrBuilderpublic boolean hasUpdateTime()
Output only. The last update time.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface DomainOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The last update time.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface DomainOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last update time.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface DomainOrBuilderpublic int getStateValue()
Output only. The current state of this domain.
.google.cloud.managedidentities.v1.Domain.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface DomainOrBuilderpublic 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];
getState in interface DomainOrBuilderpublic 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];getStatusMessage in interface DomainOrBuilderpublic 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];getStatusMessageBytes in interface DomainOrBuilderpublic 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];
getTrustsList in interface DomainOrBuilderpublic 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];
getTrustsOrBuilderList in interface DomainOrBuilderpublic 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];
getTrustsCount in interface DomainOrBuilderpublic 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];
getTrusts in interface DomainOrBuilderpublic 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];
getTrustsOrBuilder in interface DomainOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Domain parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Domain parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Domain parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Domain parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Domain parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Domain parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Domain parseFrom(InputStream input) throws IOException
IOExceptionpublic static Domain parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Domain parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Domain parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Domain parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Domain parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Domain.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Domain.Builder newBuilder()
public static Domain.Builder newBuilder(Domain prototype)
public Domain.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Domain.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Domain getDefaultInstance()
public static com.google.protobuf.Parser<Domain> parser()
public com.google.protobuf.Parser<Domain> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Domain getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.