Class GetServerConfigRequest.Builder (0.43.0)

public static final class GetServerConfigRequest.Builder extends GeneratedMessageV3.Builder<GetServerConfigRequest.Builder> implements GetServerConfigRequestOrBuilder

Gets the server config.

Protobuf type google.cloud.edgecontainer.v1.GetServerConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetServerConfigRequest build()
Returns
Type Description
GetServerConfigRequest

buildPartial()

public GetServerConfigRequest buildPartial()
Returns
Type Description
GetServerConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetServerConfigRequest.Builder clearName()

Required. The name (project and location) of the server config to get, specified in the format projects/*/locations/*.

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

Returns
Type Description
GetServerConfigRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetServerConfigRequest getDefaultInstanceForType()
Returns
Type Description
GetServerConfigRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name (project and location) of the server config to get, specified in the format projects/*/locations/*.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name (project and location) of the server config to get, specified in the format projects/*/locations/*.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetServerConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetServerConfigRequest.Builder setName(String value)

Required. The name (project and location) of the server config to get, specified in the format projects/*/locations/*.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetServerConfigRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetServerConfigRequest.Builder setNameBytes(ByteString value)

Required. The name (project and location) of the server config to get, specified in the format projects/*/locations/*.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetServerConfigRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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