Class CreateDomainMappingRequest.Builder (2.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateDomainMappingRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateDomainMappingRequest.Builder
Overrides

build()

public CreateDomainMappingRequest build()
Returns
TypeDescription
CreateDomainMappingRequest

buildPartial()

public CreateDomainMappingRequest buildPartial()
Returns
TypeDescription
CreateDomainMappingRequest

clear()

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

clearDomainMapping()

public CreateDomainMappingRequest.Builder clearDomainMapping()

Domain mapping configuration.

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

Returns
TypeDescription
CreateDomainMappingRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clearParent()

public CreateDomainMappingRequest.Builder clearParent()

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

string parent = 1;

Returns
TypeDescription
CreateDomainMappingRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateDomainMappingRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateDomainMappingRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDomainMapping()

public DomainMapping getDomainMapping()

Domain mapping configuration.

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

Returns
TypeDescription
DomainMapping

The domainMapping.

getDomainMappingBuilder()

public DomainMapping.Builder getDomainMappingBuilder()

Domain mapping configuration.

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

Returns
TypeDescription
DomainMapping.Builder

getDomainMappingOrBuilder()

public DomainMappingOrBuilder getDomainMappingOrBuilder()

Domain mapping configuration.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

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

string parent = 1;

Returns
TypeDescription
ByteString

The bytes for parent.

hasDomainMapping()

public boolean hasDomainMapping()

Domain mapping configuration.

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

Returns
TypeDescription
boolean

Whether the domainMapping field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDomainMapping(DomainMapping value)

public CreateDomainMappingRequest.Builder mergeDomainMapping(DomainMapping value)

Domain mapping configuration.

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

Parameter
NameDescription
valueDomainMapping
Returns
TypeDescription
CreateDomainMappingRequest.Builder

mergeFrom(CreateDomainMappingRequest other)

public CreateDomainMappingRequest.Builder mergeFrom(CreateDomainMappingRequest other)
Parameter
NameDescription
otherCreateDomainMappingRequest
Returns
TypeDescription
CreateDomainMappingRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CreateDomainMappingRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateDomainMappingRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateDomainMappingRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateDomainMappingRequest.Builder
Overrides

setDomainMapping(DomainMapping value)

public CreateDomainMappingRequest.Builder setDomainMapping(DomainMapping value)

Domain mapping configuration.

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

Parameter
NameDescription
valueDomainMapping
Returns
TypeDescription
CreateDomainMappingRequest.Builder

setDomainMapping(DomainMapping.Builder builderForValue)

public CreateDomainMappingRequest.Builder setDomainMapping(DomainMapping.Builder builderForValue)

Domain mapping configuration.

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

Parameter
NameDescription
builderForValueDomainMapping.Builder
Returns
TypeDescription
CreateDomainMappingRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The overrideStrategy to set.

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

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

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

The parent to set.

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

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateDomainMappingRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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