Package com.google.api
Interface Logging.LoggingDestinationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Logging.LoggingDestination
,Logging.LoggingDestination.Builder
- Enclosing class:
- Logging
public static interface Logging.LoggingDestinationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetLogs
(int index) Names of the logs to be sent to this destination.com.google.protobuf.ByteString
getLogsBytes
(int index) Names of the logs to be sent to this destination.int
Names of the logs to be sent to this destination.Names of the logs to be sent to this destination.The monitored resource type.com.google.protobuf.ByteString
The monitored resource type.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getMonitoredResource
String getMonitoredResource()The monitored resource type. The type must be defined in the [Service.monitored_resources][google.api.Service.monitored_resources] section.
string monitored_resource = 3;
- Returns:
- The monitoredResource.
-
getMonitoredResourceBytes
com.google.protobuf.ByteString getMonitoredResourceBytes()The monitored resource type. The type must be defined in the [Service.monitored_resources][google.api.Service.monitored_resources] section.
string monitored_resource = 3;
- Returns:
- The bytes for monitoredResource.
-
getLogsList
Names of the logs to be sent to this destination. Each name must be defined in the [Service.logs][google.api.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:
- A list containing the logs.
-
getLogsCount
int getLogsCount()Names of the logs to be sent to this destination. Each name must be defined in the [Service.logs][google.api.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:
- The count of logs.
-
getLogs
Names of the logs to be sent to this destination. Each name must be defined in the [Service.logs][google.api.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;
- Parameters:
index
- The index of the element to return.- Returns:
- The logs at the given index.
-
getLogsBytes
com.google.protobuf.ByteString getLogsBytes(int index) Names of the logs to be sent to this destination. Each name must be defined in the [Service.logs][google.api.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;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the logs at the given index.
-