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 java.lang.String
getLogs(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
getLogsCount()
Names of the logs to be sent to this destination.java.util.List<java.lang.String>
getLogsList()
Names of the logs to be sent to this destination.java.lang.String
getMonitoredResource()
The monitored resource type.com.google.protobuf.ByteString
getMonitoredResourceBytes()
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
java.lang.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
java.util.List<java.lang.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
java.lang.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.
-
-