Class CreateDomainMappingRequest.Builder (2.41.0)

public static final class CreateDomainMappingRequest.Builder extends GeneratedMessageV3.Builder<CreateDomainMappingRequest.Builder> implements CreateDomainMappingRequestOrBuilder

Request message for DomainMappings.CreateDomainMapping.

Protobuf type google.appengine.v1.CreateDomainMappingRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateDomainMappingRequest build()
Returns
Type Description
CreateDomainMappingRequest

buildPartial()

public CreateDomainMappingRequest buildPartial()
Returns
Type Description
CreateDomainMappingRequest

clear()

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

clearDomainMapping()

public CreateDomainMappingRequest.Builder clearDomainMapping()

Domain mapping configuration.

.google.appengine.v1.DomainMapping domain_mapping = 2;

Returns
Type Description
CreateDomainMappingRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOverrideStrategy()

public CreateDomainMappingRequest.Builder clearOverrideStrategy()

Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.

.google.appengine.v1.DomainOverrideStrategy override_strategy = 4;

Returns
Type Description
CreateDomainMappingRequest.Builder

This builder for chaining.

clearParent()

public CreateDomainMappingRequest.Builder clearParent()

Name of the parent Application resource. Example: apps/myapp.

string parent = 1;

Returns
Type Description
CreateDomainMappingRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateDomainMappingRequest getDefaultInstanceForType()
Returns
Type Description
CreateDomainMappingRequest

getDescriptorForType()

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

getDomainMapping()

public DomainMapping getDomainMapping()

Domain mapping configuration.

.google.appengine.v1.DomainMapping domain_mapping = 2;

Returns
Type Description
DomainMapping

The domainMapping.

getDomainMappingBuilder()

public DomainMapping.Builder getDomainMappingBuilder()

Domain mapping configuration.

.google.appengine.v1.DomainMapping domain_mapping = 2;

Returns
Type Description
DomainMapping.Builder

getDomainMappingOrBuilder()

public DomainMappingOrBuilder getDomainMappingOrBuilder()

Domain mapping configuration.

.google.appengine.v1.DomainMapping domain_mapping = 2;

Returns
Type Description
DomainMappingOrBuilder

getOverrideStrategy()

public DomainOverrideStrategy getOverrideStrategy()

Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.

.google.appengine.v1.DomainOverrideStrategy override_strategy = 4;

Returns
Type Description
DomainOverrideStrategy

The overrideStrategy.

getOverrideStrategyValue()

public int getOverrideStrategyValue()

Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.

.google.appengine.v1.DomainOverrideStrategy override_strategy = 4;

Returns
Type Description
int

The enum numeric value on the wire for overrideStrategy.

getParent()

public String getParent()

Name of the parent Application resource. Example: apps/myapp.

string parent = 1;

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Name of the parent Application resource. Example: apps/myapp.

string parent = 1;

Returns
Type Description
ByteString

The bytes for parent.

hasDomainMapping()

public boolean hasDomainMapping()

Domain mapping configuration.

.google.appengine.v1.DomainMapping domain_mapping = 2;

Returns
Type Description
boolean

Whether the domainMapping field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDomainMapping(DomainMapping value)

public CreateDomainMappingRequest.Builder mergeDomainMapping(DomainMapping value)

Domain mapping configuration.

.google.appengine.v1.DomainMapping domain_mapping = 2;

Parameter
Name Description
value DomainMapping
Returns
Type Description
CreateDomainMappingRequest.Builder

mergeFrom(CreateDomainMappingRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDomainMapping(DomainMapping value)

public CreateDomainMappingRequest.Builder setDomainMapping(DomainMapping value)

Domain mapping configuration.

.google.appengine.v1.DomainMapping domain_mapping = 2;

Parameter
Name Description
value DomainMapping
Returns
Type Description
CreateDomainMappingRequest.Builder

setDomainMapping(DomainMapping.Builder builderForValue)

public CreateDomainMappingRequest.Builder setDomainMapping(DomainMapping.Builder builderForValue)

Domain mapping configuration.

.google.appengine.v1.DomainMapping domain_mapping = 2;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setOverrideStrategy(DomainOverrideStrategy value)

public CreateDomainMappingRequest.Builder setOverrideStrategy(DomainOverrideStrategy value)

Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.

.google.appengine.v1.DomainOverrideStrategy override_strategy = 4;

Parameter
Name Description
value DomainOverrideStrategy

The overrideStrategy to set.

Returns
Type Description
CreateDomainMappingRequest.Builder

This builder for chaining.

setOverrideStrategyValue(int value)

public CreateDomainMappingRequest.Builder setOverrideStrategyValue(int value)

Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.

.google.appengine.v1.DomainOverrideStrategy override_strategy = 4;

Parameter
Name Description
value int

The enum numeric value on the wire for overrideStrategy to set.

Returns
Type Description
CreateDomainMappingRequest.Builder

This builder for chaining.

setParent(String value)

public CreateDomainMappingRequest.Builder setParent(String value)

Name of the parent Application resource. Example: apps/myapp.

string parent = 1;

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateDomainMappingRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateDomainMappingRequest.Builder setParentBytes(ByteString value)

Name of the parent Application resource. Example: apps/myapp.

string parent = 1;

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateDomainMappingRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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