public static final class UpdateLoggingConfigRequest.Builder extends GeneratedMessage.Builder<UpdateLoggingConfigRequest.Builder> implements UpdateLoggingConfigRequestOrBuilderRequest for ProjectService.UpdateLoggingConfig method.
Protobuf type google.cloud.retail.v2alpha.UpdateLoggingConfigRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateLoggingConfigRequest.BuilderImplements
UpdateLoggingConfigRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 |
|
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 |
|
getDefaultInstanceForType()
public UpdateLoggingConfigRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateLoggingConfigRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateLoggingConfigRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateLoggingConfigRequest.Builder |
|
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 |
|
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 |
|
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 |
|
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 |
|