public final class TailLogEntriesRequest extends GeneratedMessageV3 implements TailLogEntriesRequestOrBuilder
The parameters to TailLogEntries
.
Protobuf type google.logging.v2.TailLogEntriesRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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. 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 listed in resource_names
will
cause the filter to return no results. The maximum length of a filter is
20,000 characters.
string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
String | The filter.
|
getFilterBytes()
public ByteString getFilterBytes()
Optional. 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 listed in resource_names
will
cause the filter to return no results. The maximum length of a filter is
20,000 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:
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:
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:
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:
repeated string resource_names = 1 [(.google.api.field_behavior) = REQUIRED];
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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)
Overrides
toBuilder()
public TailLogEntriesRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides