public static final class ListLogsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListLogsRequest.Builder> implements ListLogsRequestOrBuilder
The parameters to ListLogs.Protobuf type
google.logging.v2.ListLogsRequest| Modifier and Type | Method and Description |
|---|---|
ListLogsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ListLogsRequest |
build() |
ListLogsRequest |
buildPartial() |
ListLogsRequest.Builder |
clear() |
ListLogsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListLogsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListLogsRequest.Builder |
clearPageSize()
Optional.
|
ListLogsRequest.Builder |
clearPageToken()
Optional.
|
ListLogsRequest.Builder |
clearParent()
Required.
|
ListLogsRequest.Builder |
clone() |
ListLogsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getPageSize()
Optional.
|
java.lang.String |
getPageToken()
Optional.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
Optional.
|
java.lang.String |
getParent()
Required.
|
ParentNameOneof |
getParentAsParentNameOneof() |
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListLogsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListLogsRequest.Builder |
mergeFrom(ListLogsRequest other) |
ListLogsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListLogsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListLogsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ListLogsRequest.Builder |
setPageSize(int value)
Optional.
|
ListLogsRequest.Builder |
setPageToken(java.lang.String value)
Optional.
|
ListLogsRequest.Builder |
setPageTokenBytes(com.google.protobuf.ByteString value)
Optional.
|
ListLogsRequest.Builder |
setParent(java.lang.String value)
Required.
|
ListLogsRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
ListLogsRequest.Builder |
setParentWithParentNameOneof(ParentNameOneof value) |
ListLogsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ListLogsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogsRequest.Builder>public ListLogsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogsRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogsRequest.Builder>public ListLogsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListLogsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListLogsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListLogsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogsRequest.Builder>public ListLogsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogsRequest.Builder>public ListLogsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogsRequest.Builder>public ListLogsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogsRequest.Builder>public ListLogsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogsRequest.Builder>public ListLogsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogsRequest.Builder>public ListLogsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListLogsRequest.Builder>public ListLogsRequest.Builder mergeFrom(ListLogsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogsRequest.Builder>public ListLogsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListLogsRequest.Builder>java.io.IOExceptionpublic java.lang.String getParent()
Required. The resource name that owns the logs:
"projects/[PROJECT_ID]"
"organizations/[ORGANIZATION_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]"
"folders/[FOLDER_ID]"
string parent = 1;getParent in interface ListLogsRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The resource name that owns the logs:
"projects/[PROJECT_ID]"
"organizations/[ORGANIZATION_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]"
"folders/[FOLDER_ID]"
string parent = 1;getParentBytes in interface ListLogsRequestOrBuilderpublic ListLogsRequest.Builder setParent(java.lang.String value)
Required. The resource name that owns the logs:
"projects/[PROJECT_ID]"
"organizations/[ORGANIZATION_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]"
"folders/[FOLDER_ID]"
string parent = 1;public ListLogsRequest.Builder clearParent()
Required. The resource name that owns the logs:
"projects/[PROJECT_ID]"
"organizations/[ORGANIZATION_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]"
"folders/[FOLDER_ID]"
string parent = 1;public ListLogsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The resource name that owns the logs:
"projects/[PROJECT_ID]"
"organizations/[ORGANIZATION_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]"
"folders/[FOLDER_ID]"
string parent = 1;public int getPageSize()
Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of `nextPageToken` in the response indicates that more results might be available.
int32 page_size = 2;getPageSize in interface ListLogsRequestOrBuilderpublic ListLogsRequest.Builder setPageSize(int value)
Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of `nextPageToken` in the response indicates that more results might be available.
int32 page_size = 2;public ListLogsRequest.Builder clearPageSize()
Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of `nextPageToken` in the response indicates that more results might be available.
int32 page_size = 2;public java.lang.String getPageToken()
Optional. If present, then retrieve the next batch of results from the preceding call to this method. `pageToken` must be the value of `nextPageToken` from the previous response. The values of other method parameters should be identical to those in the previous call.
string page_token = 3;getPageToken in interface ListLogsRequestOrBuilderpublic com.google.protobuf.ByteString getPageTokenBytes()
Optional. If present, then retrieve the next batch of results from the preceding call to this method. `pageToken` must be the value of `nextPageToken` from the previous response. The values of other method parameters should be identical to those in the previous call.
string page_token = 3;getPageTokenBytes in interface ListLogsRequestOrBuilderpublic ListLogsRequest.Builder setPageToken(java.lang.String value)
Optional. If present, then retrieve the next batch of results from the preceding call to this method. `pageToken` must be the value of `nextPageToken` from the previous response. The values of other method parameters should be identical to those in the previous call.
string page_token = 3;public ListLogsRequest.Builder clearPageToken()
Optional. If present, then retrieve the next batch of results from the preceding call to this method. `pageToken` must be the value of `nextPageToken` from the previous response. The values of other method parameters should be identical to those in the previous call.
string page_token = 3;public ListLogsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
Optional. If present, then retrieve the next batch of results from the preceding call to this method. `pageToken` must be the value of `nextPageToken` from the previous response. The values of other method parameters should be identical to those in the previous call.
string page_token = 3;public final ListLogsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogsRequest.Builder>public final ListLogsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogsRequest.Builder>public final ListLogsRequest.Builder setParentWithParentNameOneof(ParentNameOneof value)
public final ParentNameOneof getParentAsParentNameOneof()