Class DomainMapping.Builder (2.7.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.appengine.v1.ResourceRecord>
Returns
TypeDescription
DomainMapping.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DomainMapping.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueResourceRecord
Returns
TypeDescription
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
NameDescription
builderForValueResourceRecord.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueResourceRecord
Returns
TypeDescription
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
NameDescription
indexint
builderForValueResourceRecord.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ResourceRecord.Builder

build()

public DomainMapping build()
Returns
TypeDescription
DomainMapping

buildPartial()

public DomainMapping buildPartial()
Returns
TypeDescription
DomainMapping

clear()

public DomainMapping.Builder clear()
Returns
TypeDescription
DomainMapping.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DomainMapping.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DomainMapping.Builder
Overrides

clearId()

public DomainMapping.Builder clearId()

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

string id = 2;

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DomainMapping.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DomainMapping.Builder

clone()

public DomainMapping.Builder clone()
Returns
TypeDescription
DomainMapping.Builder
Overrides

getDefaultInstanceForType()

public DomainMapping getDefaultInstanceForType()
Returns
TypeDescription
DomainMapping

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getId()

public String getId()

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

string id = 2;

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

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

string id = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the sslSettings field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DomainMapping other)

public DomainMapping.Builder mergeFrom(DomainMapping other)
Parameter
NameDescription
otherDomainMapping
Returns
TypeDescription
DomainMapping.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DomainMapping.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DomainMapping.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DomainMapping.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueSslSettings
Returns
TypeDescription
DomainMapping.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DomainMapping.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DomainMapping.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DomainMapping.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The id to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueResourceRecord
Returns
TypeDescription
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
NameDescription
indexint
builderForValueResourceRecord.Builder
Returns
TypeDescription
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
NameDescription
valueSslSettings
Returns
TypeDescription
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
NameDescription
builderForValueSslSettings.Builder
Returns
TypeDescription
DomainMapping.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final DomainMapping.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DomainMapping.Builder
Overrides