Class UpdateLoggingConfigRequest.Builder (2.50.0)

public static final class UpdateLoggingConfigRequest.Builder extends GeneratedMessageV3.Builder<UpdateLoggingConfigRequest.Builder> implements UpdateLoggingConfigRequestOrBuilder

Request for ProjectService.UpdateLoggingConfig method.

Protobuf type google.cloud.retail.v2alpha.UpdateLoggingConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateLoggingConfigRequest build()
Returns
Type Description
UpdateLoggingConfigRequest

buildPartial()

public UpdateLoggingConfigRequest buildPartial()
Returns
Type Description
UpdateLoggingConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLoggingConfig()

public UpdateLoggingConfigRequest.Builder clearLoggingConfig()

Required. The LoggingConfig to update.

If the caller does not have permission to update the LoggingConfig, then a PERMISSION_DENIED error is returned.

If the LoggingConfig to update does not exist, a NOT_FOUND error is returned.

.google.cloud.retail.v2alpha.LoggingConfig logging_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateLoggingConfigRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateLoggingConfigRequest.Builder clearUpdateMask()

Indicates which fields in the provided LoggingConfig to update. The following are the only supported fields:

  • LoggingConfig.default_log_generation_rule
  • LoggingConfig.service_log_generation_rules

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateLoggingConfigRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateLoggingConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateLoggingConfigRequest

getDescriptorForType()

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

getLoggingConfig()

public LoggingConfig getLoggingConfig()

Required. The LoggingConfig to update.

If the caller does not have permission to update the LoggingConfig, then a PERMISSION_DENIED error is returned.

If the LoggingConfig to update does not exist, a NOT_FOUND error is returned.

.google.cloud.retail.v2alpha.LoggingConfig logging_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LoggingConfig

The loggingConfig.

getLoggingConfigBuilder()

public LoggingConfig.Builder getLoggingConfigBuilder()

Required. The LoggingConfig to update.

If the caller does not have permission to update the LoggingConfig, then a PERMISSION_DENIED error is returned.

If the LoggingConfig to update does not exist, a NOT_FOUND error is returned.

.google.cloud.retail.v2alpha.LoggingConfig logging_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LoggingConfig.Builder

getLoggingConfigOrBuilder()

public LoggingConfigOrBuilder getLoggingConfigOrBuilder()

Required. The LoggingConfig to update.

If the caller does not have permission to update the LoggingConfig, then a PERMISSION_DENIED error is returned.

If the LoggingConfig to update does not exist, a NOT_FOUND error is returned.

.google.cloud.retail.v2alpha.LoggingConfig logging_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LoggingConfigOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Indicates which fields in the provided LoggingConfig to update. The following are the only supported fields:

  • LoggingConfig.default_log_generation_rule
  • LoggingConfig.service_log_generation_rules

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Indicates which fields in the provided LoggingConfig to update. The following are the only supported fields:

  • LoggingConfig.default_log_generation_rule
  • LoggingConfig.service_log_generation_rules

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Indicates which fields in the provided LoggingConfig to update. The following are the only supported fields:

  • LoggingConfig.default_log_generation_rule
  • LoggingConfig.service_log_generation_rules

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasLoggingConfig()

public boolean hasLoggingConfig()

Required. The LoggingConfig to update.

If the caller does not have permission to update the LoggingConfig, then a PERMISSION_DENIED error is returned.

If the LoggingConfig to update does not exist, a NOT_FOUND error is returned.

.google.cloud.retail.v2alpha.LoggingConfig logging_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the loggingConfig field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Indicates which fields in the provided LoggingConfig to update. The following are the only supported fields:

  • LoggingConfig.default_log_generation_rule
  • LoggingConfig.service_log_generation_rules

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateLoggingConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLoggingConfig(LoggingConfig value)

public UpdateLoggingConfigRequest.Builder mergeLoggingConfig(LoggingConfig value)

Required. The LoggingConfig to update.

If the caller does not have permission to update the LoggingConfig, then a PERMISSION_DENIED error is returned.

If the LoggingConfig to update does not exist, a NOT_FOUND error is returned.

.google.cloud.retail.v2alpha.LoggingConfig logging_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value LoggingConfig
Returns
Type Description
UpdateLoggingConfigRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateLoggingConfigRequest.Builder mergeUpdateMask(FieldMask value)

Indicates which fields in the provided LoggingConfig to update. The following are the only supported fields:

  • LoggingConfig.default_log_generation_rule
  • LoggingConfig.service_log_generation_rules

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateLoggingConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setLoggingConfig(LoggingConfig value)

public UpdateLoggingConfigRequest.Builder setLoggingConfig(LoggingConfig value)

Required. The LoggingConfig to update.

If the caller does not have permission to update the LoggingConfig, then a PERMISSION_DENIED error is returned.

If the LoggingConfig to update does not exist, a NOT_FOUND error is returned.

.google.cloud.retail.v2alpha.LoggingConfig logging_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value LoggingConfig
Returns
Type Description
UpdateLoggingConfigRequest.Builder

setLoggingConfig(LoggingConfig.Builder builderForValue)

public UpdateLoggingConfigRequest.Builder setLoggingConfig(LoggingConfig.Builder builderForValue)

Required. The LoggingConfig to update.

If the caller does not have permission to update the LoggingConfig, then a PERMISSION_DENIED error is returned.

If the LoggingConfig to update does not exist, a NOT_FOUND error is returned.

.google.cloud.retail.v2alpha.LoggingConfig logging_config = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue LoggingConfig.Builder
Returns
Type Description
UpdateLoggingConfigRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateLoggingConfigRequest.Builder setUpdateMask(FieldMask value)

Indicates which fields in the provided LoggingConfig to update. The following are the only supported fields:

  • LoggingConfig.default_log_generation_rule
  • LoggingConfig.service_log_generation_rules

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateLoggingConfigRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateLoggingConfigRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Indicates which fields in the provided LoggingConfig to update. The following are the only supported fields:

  • LoggingConfig.default_log_generation_rule
  • LoggingConfig.service_log_generation_rules

    If not set, all supported fields are updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateLoggingConfigRequest.Builder