Class DomainMapping (2.39.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
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_RECORDS_FIELD_NUMBER

public static final int RESOURCE_RECORDS_FIELD_NUMBER
Field Value
TypeDescription
int

SSL_SETTINGS_FIELD_NUMBER

public static final int SSL_SETTINGS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DomainMapping getDefaultInstance()
Returns
TypeDescription
DomainMapping

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DomainMapping.Builder newBuilder()
Returns
TypeDescription
DomainMapping.Builder

newBuilder(DomainMapping prototype)

public static DomainMapping.Builder newBuilder(DomainMapping prototype)
Parameter
NameDescription
prototypeDomainMapping
Returns
TypeDescription
DomainMapping.Builder

parseDelimitedFrom(InputStream input)

public static DomainMapping parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DomainMapping
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DomainMapping parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DomainMapping
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DomainMapping parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DomainMapping
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DomainMapping parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DomainMapping
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DomainMapping parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DomainMapping
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DomainMapping parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DomainMapping
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DomainMapping parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DomainMapping
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DomainMapping parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DomainMapping
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DomainMapping parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DomainMapping
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DomainMapping parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DomainMapping
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DomainMapping parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DomainMapping
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DomainMapping parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DomainMapping
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DomainMapping> parser()
Returns
TypeDescription
Parser<DomainMapping>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DomainMapping getDefaultInstanceForType()
Returns
TypeDescription
DomainMapping

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.

getParserForType()

public Parser<DomainMapping> getParserForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
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>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DomainMapping.Builder newBuilderForType()
Returns
TypeDescription
DomainMapping.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DomainMapping.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DomainMapping.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DomainMapping.Builder toBuilder()
Returns
TypeDescription
DomainMapping.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException