Class LoggingConfig.ServiceLogGenerationRule (2.49.0)

public static final class LoggingConfig.ServiceLogGenerationRule extends GeneratedMessageV3 implements LoggingConfig.ServiceLogGenerationRuleOrBuilder

The granular logging configurations for supported services.

Protobuf type google.cloud.retail.v2alpha.LoggingConfig.ServiceLogGenerationRule

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > LoggingConfig.ServiceLogGenerationRule

Static Fields

LOG_GENERATION_RULE_FIELD_NUMBER

public static final int LOG_GENERATION_RULE_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_NAME_FIELD_NUMBER

public static final int SERVICE_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static LoggingConfig.ServiceLogGenerationRule getDefaultInstance()
Returns
Type Description
LoggingConfig.ServiceLogGenerationRule

getDescriptor()

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

newBuilder()

public static LoggingConfig.ServiceLogGenerationRule.Builder newBuilder()
Returns
Type Description
LoggingConfig.ServiceLogGenerationRule.Builder

newBuilder(LoggingConfig.ServiceLogGenerationRule prototype)

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

parseDelimitedFrom(InputStream input)

public static LoggingConfig.ServiceLogGenerationRule parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LoggingConfig.ServiceLogGenerationRule
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static LoggingConfig.ServiceLogGenerationRule parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
LoggingConfig.ServiceLogGenerationRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static LoggingConfig.ServiceLogGenerationRule parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
LoggingConfig.ServiceLogGenerationRule
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static LoggingConfig.ServiceLogGenerationRule parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LoggingConfig.ServiceLogGenerationRule
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static LoggingConfig.ServiceLogGenerationRule parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
LoggingConfig.ServiceLogGenerationRule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<LoggingConfig.ServiceLogGenerationRule> parser()
Returns
Type Description
Parser<ServiceLogGenerationRule>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public LoggingConfig.ServiceLogGenerationRule getDefaultInstanceForType()
Returns
Type Description
LoggingConfig.ServiceLogGenerationRule

getLogGenerationRule()

public LoggingConfig.LogGenerationRule getLogGenerationRule()

The log generation rule that applies to this service.

.google.cloud.retail.v2alpha.LoggingConfig.LogGenerationRule log_generation_rule = 3;

Returns
Type Description
LoggingConfig.LogGenerationRule

The logGenerationRule.

getLogGenerationRuleOrBuilder()

public LoggingConfig.LogGenerationRuleOrBuilder getLogGenerationRuleOrBuilder()

The log generation rule that applies to this service.

.google.cloud.retail.v2alpha.LoggingConfig.LogGenerationRule log_generation_rule = 3;

Returns
Type Description
LoggingConfig.LogGenerationRuleOrBuilder

getParserForType()

public Parser<LoggingConfig.ServiceLogGenerationRule> getParserForType()
Returns
Type Description
Parser<ServiceLogGenerationRule>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServiceName()

public String getServiceName()

Required. Supported service names: "CatalogService", "CompletionService", "ControlService", "MerchantCenterStreaming", "ModelService", "PredictionService", "ProductService", "ServingConfigService", "UserEventService",

string service_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The serviceName.

getServiceNameBytes()

public ByteString getServiceNameBytes()

Required. Supported service names: "CatalogService", "CompletionService", "ControlService", "MerchantCenterStreaming", "ModelService", "PredictionService", "ProductService", "ServingConfigService", "UserEventService",

string service_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for serviceName.

hasLogGenerationRule()

public boolean hasLogGenerationRule()

The log generation rule that applies to this service.

.google.cloud.retail.v2alpha.LoggingConfig.LogGenerationRule log_generation_rule = 3;

Returns
Type Description
boolean

Whether the logGenerationRule 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 LoggingConfig.ServiceLogGenerationRule.Builder newBuilderForType()
Returns
Type Description
LoggingConfig.ServiceLogGenerationRule.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public LoggingConfig.ServiceLogGenerationRule.Builder toBuilder()
Returns
Type Description
LoggingConfig.ServiceLogGenerationRule.Builder

writeTo(CodedOutputStream output)

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