Class DomainMapping.Builder (2.54.0)

public static final class DomainMapping.Builder extends GeneratedMessageV3.Builder<DomainMapping.Builder> implements DomainMappingOrBuilder

A domain serving an App Engine application.

Protobuf type google.appengine.v1.DomainMapping

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllResourceRecords(Iterable<? extends ResourceRecord> values)

public DomainMapping.Builder addAllResourceRecords(Iterable<? extends ResourceRecord> 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)

public DomainMapping.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DomainMapping.Builder
Overrides

addResourceRecords(ResourceRecord value)

public DomainMapping.Builder addResourceRecords(ResourceRecord value)

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)

public DomainMapping.Builder addResourceRecords(ResourceRecord.Builder builderForValue)

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)

public DomainMapping.Builder addResourceRecords(int index, ResourceRecord value)

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)

public DomainMapping.Builder addResourceRecords(int index, ResourceRecord.Builder builderForValue)

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()

public ResourceRecord.Builder addResourceRecordsBuilder()

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)

public ResourceRecord.Builder addResourceRecordsBuilder(int index)

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()

public DomainMapping build()
Returns
Type Description
DomainMapping

buildPartial()

public DomainMapping buildPartial()
Returns
Type Description
DomainMapping

clear()

public DomainMapping.Builder clear()
Returns
Type Description
DomainMapping.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DomainMapping.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DomainMapping.Builder
Overrides

clearId()

public DomainMapping.Builder clearId()

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

string id = 2;

Returns
Type Description
DomainMapping.Builder

This builder for chaining.

clearName()

public DomainMapping.Builder clearName()

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)

public DomainMapping.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DomainMapping.Builder
Overrides

clearResourceRecords()

public DomainMapping.Builder clearResourceRecords()

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()

public DomainMapping.Builder clearSslSettings()

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()

public DomainMapping.Builder clone()
Returns
Type Description
DomainMapping.Builder
Overrides

getDefaultInstanceForType()

public DomainMapping getDefaultInstanceForType()
Returns
Type Description
DomainMapping

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getId()

public String getId()

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

string id = 2;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

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

string id = 2;

Returns
Type Description
ByteString

The bytes for id.

getName()

public String getName()

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()

public ByteString getNameBytes()

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)

public ResourceRecord getResourceRecords(int index)

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)

public ResourceRecord.Builder getResourceRecordsBuilder(int index)

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()

public List<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()

public int getResourceRecordsCount()

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()

public List<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)

public ResourceRecordOrBuilder getResourceRecordsOrBuilder(int index)

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()

public List<? extends ResourceRecordOrBuilder> 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()

public SslSettings getSslSettings()

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()

public SslSettings.Builder getSslSettingsBuilder()

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()

public SslSettingsOrBuilder getSslSettingsOrBuilder()

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()

public boolean hasSslSettings()

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()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DomainMapping other)

public DomainMapping.Builder mergeFrom(DomainMapping other)
Parameter
Name Description
other DomainMapping
Returns
Type Description
DomainMapping.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DomainMapping.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DomainMapping.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DomainMapping.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DomainMapping.Builder
Overrides

mergeSslSettings(SslSettings value)

public DomainMapping.Builder mergeSslSettings(SslSettings value)

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)

public final DomainMapping.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DomainMapping.Builder
Overrides

removeResourceRecords(int index)

public DomainMapping.Builder removeResourceRecords(int index)

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)

public DomainMapping.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DomainMapping.Builder
Overrides

setId(String value)

public DomainMapping.Builder setId(String value)

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)

public DomainMapping.Builder setIdBytes(ByteString value)

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)

public DomainMapping.Builder setName(String value)

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)

public DomainMapping.Builder setNameBytes(ByteString value)

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)

public DomainMapping.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DomainMapping.Builder
Overrides

setResourceRecords(int index, ResourceRecord value)

public DomainMapping.Builder setResourceRecords(int index, ResourceRecord value)

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)

public DomainMapping.Builder setResourceRecords(int index, ResourceRecord.Builder builderForValue)

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)

public DomainMapping.Builder setSslSettings(SslSettings value)

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)

public DomainMapping.Builder setSslSettings(SslSettings.Builder builderForValue)

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)

public final DomainMapping.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DomainMapping.Builder
Overrides