public static final class Logging.LoggingDestination extends GeneratedMessageV3 implements Logging.LoggingDestinationOrBuilder
Configuration of a specific logging destination (the producer project or the consumer project).
Protobuf type google.api.Logging.LoggingDestination
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Logging.LoggingDestinationImplements
Logging.LoggingDestinationOrBuilderStatic Fields
LOGS_FIELD_NUMBER
public static final int LOGS_FIELD_NUMBER
Type | Description |
int |
MONITORED_RESOURCE_FIELD_NUMBER
public static final int MONITORED_RESOURCE_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Logging.LoggingDestination getDefaultInstance()
Type | Description |
Logging.LoggingDestination |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static Logging.LoggingDestination.Builder newBuilder()
Type | Description |
Logging.LoggingDestination.Builder |
newBuilder(Logging.LoggingDestination prototype)
public static Logging.LoggingDestination.Builder newBuilder(Logging.LoggingDestination prototype)
Name | Description |
prototype | Logging.LoggingDestination |
Type | Description |
Logging.LoggingDestination.Builder |
parseDelimitedFrom(InputStream input)
public static Logging.LoggingDestination parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Logging.LoggingDestination |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Logging.LoggingDestination parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Logging.LoggingDestination |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Logging.LoggingDestination parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Logging.LoggingDestination |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Logging.LoggingDestination parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Logging.LoggingDestination |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Logging.LoggingDestination parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Logging.LoggingDestination |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Logging.LoggingDestination parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Logging.LoggingDestination |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Logging.LoggingDestination parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Logging.LoggingDestination |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Logging.LoggingDestination parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Logging.LoggingDestination |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Logging.LoggingDestination parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Logging.LoggingDestination |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Logging.LoggingDestination parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Logging.LoggingDestination |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Logging.LoggingDestination parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Logging.LoggingDestination |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Logging.LoggingDestination parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Logging.LoggingDestination |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Logging.LoggingDestination> parser()
Type | Description |
Parser<LoggingDestination> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public Logging.LoggingDestination getDefaultInstanceForType()
Type | Description |
Logging.LoggingDestination |
getLogs(int index)
public 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;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The logs at the given index. |
getLogsBytes(int index)
public 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;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the logs at the given index. |
getLogsCount()
public 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;
Type | Description |
int | The count of logs. |
getLogsList()
public ProtocolStringList 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;
Type | Description |
ProtocolStringList | A list containing the logs. |
getMonitoredResource()
public String getMonitoredResource()
The monitored resource type. The type must be defined in the Service.monitored_resources section.
string monitored_resource = 3;
Type | Description |
String | The monitoredResource. |
getMonitoredResourceBytes()
public ByteString getMonitoredResourceBytes()
The monitored resource type. The type must be defined in the Service.monitored_resources section.
string monitored_resource = 3;
Type | Description |
ByteString | The bytes for monitoredResource. |
getParserForType()
public Parser<Logging.LoggingDestination> getParserForType()
Type | Description |
Parser<LoggingDestination> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public Logging.LoggingDestination.Builder newBuilderForType()
Type | Description |
Logging.LoggingDestination.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Logging.LoggingDestination.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Logging.LoggingDestination.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public Logging.LoggingDestination.Builder toBuilder()
Type | Description |
Logging.LoggingDestination.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |