Class DomainMapping (2.23.0)

publicfinalclass DomainMappingextendsGeneratedMessageV3implementsDomainMappingOrBuilder

A domain serving an App Engine application.

Protobuf type google.appengine.v1.DomainMapping

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)

Static Fields

ID_FIELD_NUMBER

publicstaticfinalintID_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

publicstaticfinalintNAME_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_RECORDS_FIELD_NUMBER

publicstaticfinalintRESOURCE_RECORDS_FIELD_NUMBER
Field Value
Type Description
int

SSL_SETTINGS_FIELD_NUMBER

publicstaticfinalintSSL_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticDomainMappinggetDefaultInstance()
Returns
Type Description
DomainMapping

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticDomainMapping.BuildernewBuilder()
Returns
Type Description
DomainMapping.Builder

newBuilder(DomainMapping prototype)

publicstaticDomainMapping.BuildernewBuilder(DomainMappingprototype)
Parameter
Name Description
prototype DomainMapping
Returns
Type Description
DomainMapping.Builder

parseDelimitedFrom(InputStream input)

publicstaticDomainMappingparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
DomainMapping
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticDomainMappingparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DomainMapping
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticDomainMappingparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
DomainMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticDomainMappingparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DomainMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticDomainMappingparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
DomainMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticDomainMappingparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DomainMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticDomainMappingparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DomainMapping
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticDomainMappingparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DomainMapping
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticDomainMappingparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
DomainMapping
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticDomainMappingparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DomainMapping
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticDomainMappingparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DomainMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticDomainMappingparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DomainMapping
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<DomainMapping>parser()
Returns
Type Description
Parser<DomainMapping>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicDomainMappinggetDefaultInstanceForType()
Returns
Type Description
DomainMapping

getId()

publicStringgetId()

Relative name of the domain serving the application. Example: example.com.

string id = 2;

Returns
Type Description
String

The id.

getIdBytes()

publicByteStringgetIdBytes()

Relative name of the domain serving the application. Example: example.com.

string id = 2;

Returns
Type Description
ByteString

The bytes for id.

getName()

publicStringgetName()

Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.

@OutputOnly

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

publicByteStringgetNameBytes()

Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.

@OutputOnly

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

publicParser<DomainMapping>getParserForType()
Returns
Type Description
Parser<DomainMapping>
Overrides

getResourceRecords(int index)

publicResourceRecordgetResourceRecords(intindex)

The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping.

@OutputOnly

repeated .google.appengine.v1.ResourceRecord resource_records = 4;

Parameter
Name Description
index int
Returns
Type Description
ResourceRecord

getResourceRecordsCount()

publicintgetResourceRecordsCount()

The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping.

@OutputOnly

repeated .google.appengine.v1.ResourceRecord resource_records = 4;

Returns
Type Description
int

getResourceRecordsList()

publicList<ResourceRecord>getResourceRecordsList()

The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping.

@OutputOnly

repeated .google.appengine.v1.ResourceRecord resource_records = 4;

Returns
Type Description
List<ResourceRecord>

getResourceRecordsOrBuilder(int index)

publicResourceRecordOrBuildergetResourceRecordsOrBuilder(intindex)

The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping.

@OutputOnly

repeated .google.appengine.v1.ResourceRecord resource_records = 4;

Parameter
Name Description
index int
Returns
Type Description
ResourceRecordOrBuilder

getResourceRecordsOrBuilderList()

publicList<?extendsResourceRecordOrBuilder>getResourceRecordsOrBuilderList()

The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping.

@OutputOnly

repeated .google.appengine.v1.ResourceRecord resource_records = 4;

Returns
Type Description
List<? extends com.google.appengine.v1.ResourceRecordOrBuilder>

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getSslSettings()

publicSslSettingsgetSslSettings()

SSL configuration for this domain. If unconfigured, this domain will not serve with SSL.

.google.appengine.v1.SslSettings ssl_settings = 3;

Returns
Type Description
SslSettings

The sslSettings.

getSslSettingsOrBuilder()

publicSslSettingsOrBuildergetSslSettingsOrBuilder()

SSL configuration for this domain. If unconfigured, this domain will not serve with SSL.

.google.appengine.v1.SslSettings ssl_settings = 3;

Returns
Type Description
SslSettingsOrBuilder

hasSslSettings()

publicbooleanhasSslSettings()

SSL configuration for this domain. If unconfigured, this domain will not serve with SSL.

.google.appengine.v1.SslSettings ssl_settings = 3;

Returns
Type Description
boolean

Whether the sslSettings field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicDomainMapping.BuildernewBuilderForType()
Returns
Type Description
DomainMapping.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedDomainMapping.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DomainMapping.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicDomainMapping.BuildertoBuilder()
Returns
Type Description
DomainMapping.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.