Interface Logging.LoggingDestinationOrBuilder (2.24.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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for monitoredResource.