Class DomainMapping (2.52.0)

public final class DomainMapping extends GeneratedMessageV3 implements DomainMappingOrBuilder

A domain serving an App Engine application.

Protobuf type google.appengine.v1.DomainMapping

Static Fields

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_RECORDS_FIELD_NUMBER

public static final int RESOURCE_RECORDS_FIELD_NUMBER
Field Value
Type Description
int

SSL_SETTINGS_FIELD_NUMBER

public static final int SSL_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DomainMapping getDefaultInstance()
Returns
Type Description
DomainMapping

getDescriptor()

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

newBuilder()

public static DomainMapping.Builder newBuilder()
Returns
Type Description
DomainMapping.Builder

newBuilder(DomainMapping prototype)

public static DomainMapping.Builder newBuilder(DomainMapping prototype)
Parameter
Name Description
prototype DomainMapping
Returns
Type Description
DomainMapping.Builder

parseDelimitedFrom(InputStream input)

public static DomainMapping parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DomainMapping
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DomainMapping parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DomainMapping
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DomainMapping parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DomainMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DomainMapping parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DomainMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DomainMapping parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DomainMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DomainMapping parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DomainMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DomainMapping parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DomainMapping
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DomainMapping parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DomainMapping
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DomainMapping parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DomainMapping
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DomainMapping parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DomainMapping
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DomainMapping parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DomainMapping
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DomainMapping parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DomainMapping
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DomainMapping> parser()
Returns
Type Description
Parser<DomainMapping>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public DomainMapping getDefaultInstanceForType()
Returns
Type Description
DomainMapping

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.

getParserForType()

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

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

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>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DomainMapping.Builder newBuilderForType()
Returns
Type Description
DomainMapping.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DomainMapping.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DomainMapping.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DomainMapping.Builder toBuilder()
Returns
Type Description
DomainMapping.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException