Send feedback
Class TailLogEntriesRequest (3.14.9)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.14.9 keyboard_arrow_down
public final class TailLogEntriesRequest extends GeneratedMessageV3 implements TailLogEntriesRequestOrBuilder
The parameters to TailLogEntries
.
Protobuf type google.logging.v2.TailLogEntriesRequest
Static Fields
BUFFER_WINDOW_FIELD_NUMBER
public static final int BUFFER_WINDOW_FIELD_NUMBER
Field Value
Type
Description
int
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
Field Value
Type
Description
int
RESOURCE_NAMES_FIELD_NUMBER
public static final int RESOURCE_NAMES_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static TailLogEntriesRequest getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static TailLogEntriesRequest . Builder newBuilder ()
newBuilder(TailLogEntriesRequest prototype)
public static TailLogEntriesRequest . Builder newBuilder ( TailLogEntriesRequest prototype )
public static TailLogEntriesRequest parseDelimitedFrom ( InputStream input )
public static TailLogEntriesRequest parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static TailLogEntriesRequest parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TailLogEntriesRequest parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static TailLogEntriesRequest parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TailLogEntriesRequest parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static TailLogEntriesRequest parseFrom ( CodedInputStream input )
public static TailLogEntriesRequest parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static TailLogEntriesRequest parseFrom ( InputStream input )
public static TailLogEntriesRequest parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static TailLogEntriesRequest parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TailLogEntriesRequest parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<TailLogEntriesRequest> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getBufferWindow()
public Duration getBufferWindow ()
Optional. The amount of time to buffer log entries at the server before
being returned to prevent out of order results due to late arriving log
entries. Valid values are between 0-60000 milliseconds. Defaults to 2000
milliseconds.
.google.protobuf.Duration buffer_window = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
Duration
The bufferWindow.
getBufferWindowOrBuilder()
public DurationOrBuilder getBufferWindowOrBuilder ()
Optional. The amount of time to buffer log entries at the server before
being returned to prevent out of order results due to late arriving log
entries. Valid values are between 0-60000 milliseconds. Defaults to 2000
milliseconds.
.google.protobuf.Duration buffer_window = 3 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public TailLogEntriesRequest getDefaultInstanceForType ()
getFilter()
public String getFilter ()
Optional. A filter that chooses which log entries to return. See Advanced
Logs Filters .
Only log entries that match the filter are returned. An empty filter
matches all log entries in the resources listed in resource_names
.
Referencing a parent resource that is not in resource_names
will cause
the filter to return no results. The maximum length of the filter is 20000
characters.
string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The filter.
getFilterBytes()
public ByteString getFilterBytes ()
Optional. A filter that chooses which log entries to return. See Advanced
Logs Filters .
Only log entries that match the filter are returned. An empty filter
matches all log entries in the resources listed in resource_names
.
Referencing a parent resource that is not in resource_names
will cause
the filter to return no results. The maximum length of the filter is 20000
characters.
string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for filter.
getParserForType()
public Parser<TailLogEntriesRequest> getParserForType ()
Overrides
getResourceNames(int index)
public String getResourceNames ( int index )
Required. Name of a parent resource from which to retrieve log entries:
projects/[PROJECT_ID]
organizations/[ORGANIZATION_ID]
billingAccounts/[BILLING_ACCOUNT_ID]
folders/[FOLDER_ID]
May alternatively be one or more views:
projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
index
int
The index of the element to return.
Returns
Type
Description
String
The resourceNames at the given index.
getResourceNamesBytes(int index)
public ByteString getResourceNamesBytes ( int index )
Required. Name of a parent resource from which to retrieve log entries:
projects/[PROJECT_ID]
organizations/[ORGANIZATION_ID]
billingAccounts/[BILLING_ACCOUNT_ID]
folders/[FOLDER_ID]
May alternatively be one or more views:
projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
index
int
The index of the value to return.
Returns
Type
Description
ByteString
The bytes of the resourceNames at the given index.
getResourceNamesCount()
public int getResourceNamesCount ()
Required. Name of a parent resource from which to retrieve log entries:
projects/[PROJECT_ID]
organizations/[ORGANIZATION_ID]
billingAccounts/[BILLING_ACCOUNT_ID]
folders/[FOLDER_ID]
May alternatively be one or more views:
projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
int
The count of resourceNames.
getResourceNamesList()
public ProtocolStringList getResourceNamesList ()
Required. Name of a parent resource from which to retrieve log entries:
projects/[PROJECT_ID]
organizations/[ORGANIZATION_ID]
billingAccounts/[BILLING_ACCOUNT_ID]
folders/[FOLDER_ID]
May alternatively be one or more views:
projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED];
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
hasBufferWindow()
public boolean hasBufferWindow ()
Optional. The amount of time to buffer log entries at the server before
being returned to prevent out of order results due to late arriving log
entries. Valid values are between 0-60000 milliseconds. Defaults to 2000
milliseconds.
.google.protobuf.Duration buffer_window = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the bufferWindow field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public TailLogEntriesRequest . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TailLogEntriesRequest . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public TailLogEntriesRequest . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-19 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-19 UTC."],[],[]]