Class DomainMapping.Builder (2.59.0)

publicstaticfinalclass DomainMapping.BuilderextendsGeneratedMessageV3.Builder<DomainMapping.Builder>implementsDomainMappingOrBuilder

A domain serving an App Engine application.

Protobuf type google.appengine.v1.DomainMapping

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addAllResourceRecords(Iterable<? extends ResourceRecord> values)

publicDomainMapping.BuilderaddAllResourceRecords(Iterable<?extendsResourceRecord>values)

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
values Iterable<? extends com.google.appengine.v1.ResourceRecord>
Returns
Type Description
DomainMapping.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicDomainMapping.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DomainMapping.Builder
Overrides

addResourceRecords(ResourceRecord value)

publicDomainMapping.BuilderaddResourceRecords(ResourceRecordvalue)

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
value ResourceRecord
Returns
Type Description
DomainMapping.Builder

addResourceRecords(ResourceRecord.Builder builderForValue)

publicDomainMapping.BuilderaddResourceRecords(ResourceRecord.BuilderbuilderForValue)

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
builderForValue ResourceRecord.Builder
Returns
Type Description
DomainMapping.Builder

addResourceRecords(int index, ResourceRecord value)

publicDomainMapping.BuilderaddResourceRecords(intindex,ResourceRecordvalue)

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;

Parameters
Name Description
index int
value ResourceRecord
Returns
Type Description
DomainMapping.Builder

addResourceRecords(int index, ResourceRecord.Builder builderForValue)

publicDomainMapping.BuilderaddResourceRecords(intindex,ResourceRecord.BuilderbuilderForValue)

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;

Parameters
Name Description
index int
builderForValue ResourceRecord.Builder
Returns
Type Description
DomainMapping.Builder

addResourceRecordsBuilder()

publicResourceRecord.BuilderaddResourceRecordsBuilder()

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
ResourceRecord.Builder

addResourceRecordsBuilder(int index)

publicResourceRecord.BuilderaddResourceRecordsBuilder(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.Builder

build()

publicDomainMappingbuild()
Returns
Type Description
DomainMapping

buildPartial()

publicDomainMappingbuildPartial()
Returns
Type Description
DomainMapping

clear()

publicDomainMapping.Builderclear()
Returns
Type Description
DomainMapping.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicDomainMapping.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DomainMapping.Builder
Overrides

clearId()

publicDomainMapping.BuilderclearId()

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

string id = 2;

Returns
Type Description
DomainMapping.Builder

This builder for chaining.

clearName()

publicDomainMapping.BuilderclearName()

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

@OutputOnly

string name = 1;

Returns
Type Description
DomainMapping.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicDomainMapping.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DomainMapping.Builder
Overrides

clearResourceRecords()

publicDomainMapping.BuilderclearResourceRecords()

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
DomainMapping.Builder

clearSslSettings()

publicDomainMapping.BuilderclearSslSettings()

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

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

Returns
Type Description
DomainMapping.Builder

clone()

publicDomainMapping.Builderclone()
Returns
Type Description
DomainMapping.Builder
Overrides

getDefaultInstanceForType()

publicDomainMappinggetDefaultInstanceForType()
Returns
Type Description
DomainMapping

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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

getResourceRecordsBuilder(int index)

publicResourceRecord.BuildergetResourceRecordsBuilder(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.Builder

getResourceRecordsBuilderList()

publicList<ResourceRecord.Builder>getResourceRecordsBuilderList()

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<Builder>

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>

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.

getSslSettingsBuilder()

publicSslSettings.BuildergetSslSettingsBuilder()

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.Builder

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.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DomainMapping other)

publicDomainMapping.BuildermergeFrom(DomainMappingother)
Parameter
Name Description
other DomainMapping
Returns
Type Description
DomainMapping.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicDomainMapping.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DomainMapping.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicDomainMapping.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
DomainMapping.Builder
Overrides

mergeSslSettings(SslSettings value)

publicDomainMapping.BuildermergeSslSettings(SslSettingsvalue)

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

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

Parameter
Name Description
value SslSettings
Returns
Type Description
DomainMapping.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalDomainMapping.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DomainMapping.Builder
Overrides

removeResourceRecords(int index)

publicDomainMapping.BuilderremoveResourceRecords(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
DomainMapping.Builder

setField(Descriptors.FieldDescriptor field, Object value)

publicDomainMapping.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DomainMapping.Builder
Overrides

setId(String value)

publicDomainMapping.BuildersetId(Stringvalue)

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

string id = 2;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
DomainMapping.Builder

This builder for chaining.

setIdBytes(ByteString value)

publicDomainMapping.BuildersetIdBytes(ByteStringvalue)

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

string id = 2;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
DomainMapping.Builder

This builder for chaining.

setName(String value)

publicDomainMapping.BuildersetName(Stringvalue)

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

@OutputOnly

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DomainMapping.Builder

This builder for chaining.

setNameBytes(ByteString value)

publicDomainMapping.BuildersetNameBytes(ByteStringvalue)

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

@OutputOnly

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DomainMapping.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicDomainMapping.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DomainMapping.Builder
Overrides

setResourceRecords(int index, ResourceRecord value)

publicDomainMapping.BuildersetResourceRecords(intindex,ResourceRecordvalue)

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;

Parameters
Name Description
index int
value ResourceRecord
Returns
Type Description
DomainMapping.Builder

setResourceRecords(int index, ResourceRecord.Builder builderForValue)

publicDomainMapping.BuildersetResourceRecords(intindex,ResourceRecord.BuilderbuilderForValue)

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;

Parameters
Name Description
index int
builderForValue ResourceRecord.Builder
Returns
Type Description
DomainMapping.Builder

setSslSettings(SslSettings value)

publicDomainMapping.BuildersetSslSettings(SslSettingsvalue)

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

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

Parameter
Name Description
value SslSettings
Returns
Type Description
DomainMapping.Builder

setSslSettings(SslSettings.Builder builderForValue)

publicDomainMapping.BuildersetSslSettings(SslSettings.BuilderbuilderForValue)

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

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

Parameter
Name Description
builderForValue SslSettings.Builder
Returns
Type Description
DomainMapping.Builder

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalDomainMapping.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DomainMapping.Builder
Overrides

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.