Class GetServerConfigRequest.Builder (0.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetServerConfigRequest build()
Returns
TypeDescription
GetServerConfigRequest

buildPartial()

public GetServerConfigRequest buildPartial()
Returns
TypeDescription
GetServerConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetServerConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
GetServerConfigRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetServerConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
GetServerConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
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(GetServerConfigRequest other)

public GetServerConfigRequest.Builder mergeFrom(GetServerConfigRequest other)
Parameter
NameDescription
otherGetServerConfigRequest
Returns
TypeDescription
GetServerConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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