Class InitializeZoneRequest.Builder (0.3.0)

public static final class InitializeZoneRequest.Builder extends GeneratedMessageV3.Builder<InitializeZoneRequest.Builder> implements InitializeZoneRequestOrBuilder

Message for initializing a specified zone

Protobuf type google.cloud.edgenetwork.v1.InitializeZoneRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InitializeZoneRequest build()
Returns
TypeDescription
InitializeZoneRequest

buildPartial()

public InitializeZoneRequest buildPartial()
Returns
TypeDescription
InitializeZoneRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public InitializeZoneRequest.Builder clearName()

Required. The name of the zone resource.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
InitializeZoneRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InitializeZoneRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
InitializeZoneRequest.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public InitializeZoneRequest getDefaultInstanceForType()
Returns
TypeDescription
InitializeZoneRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The name of the zone resource.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the zone resource.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InitializeZoneRequest other)

public InitializeZoneRequest.Builder mergeFrom(InitializeZoneRequest other)
Parameter
NameDescription
otherInitializeZoneRequest
Returns
TypeDescription
InitializeZoneRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public InitializeZoneRequest.Builder setName(String value)

Required. The name of the zone resource.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
InitializeZoneRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public InitializeZoneRequest.Builder setNameBytes(ByteString value)

Required. The name of the zone resource.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
InitializeZoneRequest.Builder

This builder for chaining.

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

public InitializeZoneRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InitializeZoneRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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