Class UpdateLoggingConfigRequest (2.55.0)

public final class UpdateLoggingConfigRequest extends GeneratedMessageV3 implements UpdateLoggingConfigRequestOrBuilder

Request for ProjectService.UpdateLoggingConfig method.

Protobuf type google.cloud.retail.v2alpha.UpdateLoggingConfigRequest

Static Fields

LOGGING_CONFIG_FIELD_NUMBER

public static final int LOGGING_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateLoggingConfigRequest getDefaultInstance()
Returns
Type Description
UpdateLoggingConfigRequest

getDescriptor()

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

newBuilder()

public static UpdateLoggingConfigRequest.Builder newBuilder()
Returns
Type Description
UpdateLoggingConfigRequest.Builder

newBuilder(UpdateLoggingConfigRequest prototype)

public static UpdateLoggingConfigRequest.Builder newBuilder(UpdateLoggingConfigRequest prototype)
Parameter
Name Description
prototype UpdateLoggingConfigRequest
Returns
Type Description
UpdateLoggingConfigRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateLoggingConfigRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateLoggingConfigRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateLoggingConfigRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateLoggingConfigRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateLoggingConfigRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateLoggingConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateLoggingConfigRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateLoggingConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateLoggingConfigRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateLoggingConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateLoggingConfigRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateLoggingConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateLoggingConfigRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateLoggingConfigRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateLoggingConfigRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateLoggingConfigRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateLoggingConfigRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateLoggingConfigRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateLoggingConfigRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateLoggingConfigRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateLoggingConfigRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateLoggingConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateLoggingConfigRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateLoggingConfigRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateLoggingConfigRequest> parser()
Returns
Type Description
Parser<UpdateLoggingConfigRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpdateLoggingConfigRequest getDefaultInstanceForType()
Returns
Type Description
UpdateLoggingConfigRequest

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.

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

getParserForType()

public Parser<UpdateLoggingConfigRequest> getParserForType()
Returns
Type Description
Parser<UpdateLoggingConfigRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateLoggingConfigRequest.Builder newBuilderForType()
Returns
Type Description
UpdateLoggingConfigRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateLoggingConfigRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateLoggingConfigRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpdateLoggingConfigRequest.Builder toBuilder()
Returns
Type Description
UpdateLoggingConfigRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException