public static final class QueryWorkloadsRequest.Builder extends GeneratedMessage.Builder<QueryWorkloadsRequest.Builder> implements QueryWorkloadsRequestOrBuilderRequest message for QueryWorkloads.
Protobuf type google.cloud.agentidentity.v1.QueryWorkloadsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > QueryWorkloadsRequest.BuilderImplements
QueryWorkloadsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public QueryWorkloadsRequest build()| Returns | |
|---|---|
| Type | Description |
QueryWorkloadsRequest |
|
buildPartial()
public QueryWorkloadsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
QueryWorkloadsRequest |
|
clear()
public QueryWorkloadsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
QueryWorkloadsRequest.Builder |
|
clearName()
public QueryWorkloadsRequest.Builder clearName()Required. The name of the auth_provider to query. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
QueryWorkloadsRequest.Builder |
This builder for chaining. |
clearPageSize()
public QueryWorkloadsRequest.Builder clearPageSize()Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
QueryWorkloadsRequest.Builder |
This builder for chaining. |
clearPageToken()
public QueryWorkloadsRequest.Builder clearPageToken() Optional. A token, which can be sent as page_token to retrieve the next
page. When paginating, all other parameters provided to QueryWorkloads must
match the call that provided the page token. If this field is omitted, the
first page is returned.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
QueryWorkloadsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public QueryWorkloadsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
QueryWorkloadsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. The name of the auth_provider to query. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The name of the auth_provider to query. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPageSize()
public int getPageSize()Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken() Optional. A token, which can be sent as page_token to retrieve the next
page. When paginating, all other parameters provided to QueryWorkloads must
match the call that provided the page token. If this field is omitted, the
first page is returned.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes() Optional. A token, which can be sent as page_token to retrieve the next
page. When paginating, all other parameters provided to QueryWorkloads must
match the call that provided the page token. If this field is omitted, the
first page is returned.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(QueryWorkloadsRequest other)
public QueryWorkloadsRequest.Builder mergeFrom(QueryWorkloadsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
QueryWorkloadsRequest |
| Returns | |
|---|---|
| Type | Description |
QueryWorkloadsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public QueryWorkloadsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
QueryWorkloadsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public QueryWorkloadsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
QueryWorkloadsRequest.Builder |
|
setName(String value)
public QueryWorkloadsRequest.Builder setName(String value)Required. The name of the auth_provider to query. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
QueryWorkloadsRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public QueryWorkloadsRequest.Builder setNameBytes(ByteString value)Required. The name of the auth_provider to query. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
QueryWorkloadsRequest.Builder |
This builder for chaining. |
setPageSize(int value)
public QueryWorkloadsRequest.Builder setPageSize(int value)Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
QueryWorkloadsRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public QueryWorkloadsRequest.Builder setPageToken(String value) Optional. A token, which can be sent as page_token to retrieve the next
page. When paginating, all other parameters provided to QueryWorkloads must
match the call that provided the page token. If this field is omitted, the
first page is returned.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
QueryWorkloadsRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public QueryWorkloadsRequest.Builder setPageTokenBytes(ByteString value) Optional. A token, which can be sent as page_token to retrieve the next
page. When paginating, all other parameters provided to QueryWorkloads must
match the call that provided the page token. If this field is omitted, the
first page is returned.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
QueryWorkloadsRequest.Builder |
This builder for chaining. |