public final class CopyLogEntriesRequest extends GeneratedMessageV3 implements CopyLogEntriesRequestOrBuilder
The parameters to CopyLogEntries.
Protobuf type google.logging.v2.CopyLogEntriesRequest
Static Fields
DESTINATION_FIELD_NUMBER
public static final int DESTINATION_FIELD_NUMBER
Field Value
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CopyLogEntriesRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CopyLogEntriesRequest.Builder newBuilder()
Returns
newBuilder(CopyLogEntriesRequest prototype)
public static CopyLogEntriesRequest.Builder newBuilder(CopyLogEntriesRequest prototype)
Parameter
Returns
public static CopyLogEntriesRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CopyLogEntriesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CopyLogEntriesRequest parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CopyLogEntriesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CopyLogEntriesRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CopyLogEntriesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CopyLogEntriesRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CopyLogEntriesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CopyLogEntriesRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CopyLogEntriesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CopyLogEntriesRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CopyLogEntriesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CopyLogEntriesRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public CopyLogEntriesRequest getDefaultInstanceForType()
Returns
getDestination()
public String getDestination()
Required. Destination to which to copy log entries.
string destination = 4 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
String |
The destination.
|
getDestinationBytes()
public ByteString getDestinationBytes()
Required. Destination to which to copy log entries.
string destination = 4 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
ByteString |
The bytes for destination.
|
getFilter()
public String getFilter()
Optional. A filter specifying which log entries to copy. The filter must be no more
than 20k characters. An empty filter matches all log entries.
string filter = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
String |
The filter.
|
getFilterBytes()
public ByteString getFilterBytes()
Optional. A filter specifying which log entries to copy. The filter must be no more
than 20k characters. An empty filter matches all log entries.
string filter = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
getName()
Required. Log bucket from which to copy log entries.
For example:
"projects/my-project/locations/global/buckets/my-source-bucket"
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. Log bucket from which to copy log entries.
For example:
"projects/my-project/locations/global/buckets/my-source-bucket"
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getParserForType()
public Parser<CopyLogEntriesRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CopyLogEntriesRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CopyLogEntriesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CopyLogEntriesRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions