return transform(rpc.get(request), Sink.fromPbFunction(this));
}
private static ListSinksRequest listSinksRequest(LoggingOptions serviceOptions,
Map<Option.OptionType, ?> options) {
ListSinksRequest.Builder builder = ListSinksRequest.newBuilder();
<BUG>builder.setParent(ConfigServiceV2Client.formatParentName(serviceOptions.getProjectId()));
Integer pageSize = PAGE_SIZE.get(options);</BUG>
String pageToken = PAGE_TOKEN.get(options);
if (pageSize != null) {
builder.setPageSize(pageSize);

return transform(rpc.get(request), Sink.fromPbFunction(this));
}
private static ListSinksRequest listSinksRequest(LoggingOptions serviceOptions,
Map<Option.OptionType, ?> options) {
ListSinksRequest.Builder builder = ListSinksRequest.newBuilder();
builder.setParent(ProjectName.create(serviceOptions.getProjectId()).toString());
Integer pageSize = PAGE_SIZE.get(options);
String pageToken = PAGE_TOKEN.get(options);
if (pageSize != null) {
builder.setPageSize(pageSize);
