Class GetLoggingConfigRequest.Builder (2.49.0)

public static final class GetLoggingConfigRequest.Builder extends GeneratedMessageV3.Builder<GetLoggingConfigRequest.Builder> implements GetLoggingConfigRequestOrBuilder

Request for ProjectService.GetLoggingConfig method.

Protobuf type google.cloud.retail.v2alpha.GetLoggingConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetLoggingConfigRequest build()
Returns
Type Description
GetLoggingConfigRequest

buildPartial()

public GetLoggingConfigRequest buildPartial()
Returns
Type Description
GetLoggingConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetLoggingConfigRequest.Builder clearName()

Required. Full LoggingConfig resource name. Format: projects/{project_number}/loggingConfig

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

Returns
Type Description
GetLoggingConfigRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetLoggingConfigRequest getDefaultInstanceForType()
Returns
Type Description
GetLoggingConfigRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Full LoggingConfig resource name. Format: projects/{project_number}/loggingConfig

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Full LoggingConfig resource name. Format: projects/{project_number}/loggingConfig

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(GetLoggingConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetLoggingConfigRequest.Builder setName(String value)

Required. Full LoggingConfig resource name. Format: projects/{project_number}/loggingConfig

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetLoggingConfigRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetLoggingConfigRequest.Builder setNameBytes(ByteString value)

Required. Full LoggingConfig resource name. Format: projects/{project_number}/loggingConfig

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
GetLoggingConfigRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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