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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetLogs(int index)Names of the logs to be sent to this destination.com.google.protobuf.ByteStringgetLogsBytes(int index)Names of the logs to be sent to this destination.intgetLogsCount()Names of the logs to be sent to this destination.List<String>getLogsList()Names of the logs to be sent to this destination.StringgetMonitoredResource()The monitored resource type.com.google.protobuf.ByteStringgetMonitoredResourceBytes()The monitored resource type.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
List<String> 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
String getLogs(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 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.
-
-