Interface Logging.LoggingDestinationOrBuilder (2.49.0)

public static interface Logging.LoggingDestinationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLogs(int index)

public abstract String getLogs(int index)

Names of the logs to be sent to this destination. Each name must be defined in the Service.logs section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/".

repeated string logs = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The logs at the given index.

getLogsBytes(int index)

public abstract ByteString getLogsBytes(int index)

Names of the logs to be sent to this destination. Each name must be defined in the Service.logs section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/".

repeated string logs = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the logs at the given index.

getLogsCount()

public abstract int getLogsCount()

Names of the logs to be sent to this destination. Each name must be defined in the Service.logs section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/".

repeated string logs = 1;

Returns
Type Description
int

The count of logs.

getLogsList()

public abstract List<String> getLogsList()

Names of the logs to be sent to this destination. Each name must be defined in the Service.logs section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/".

repeated string logs = 1;

Returns
Type Description
List<String>

A list containing the logs.

getMonitoredResource()

public abstract String getMonitoredResource()

The monitored resource type. The type must be defined in the Service.monitored_resources section.

string monitored_resource = 3;

Returns
Type Description
String

The monitoredResource.

getMonitoredResourceBytes()

public abstract ByteString getMonitoredResourceBytes()

The monitored resource type. The type must be defined in the Service.monitored_resources section.

string monitored_resource = 3;

Returns
Type Description
ByteString

The bytes for monitoredResource.