public static final class ListRulesRequest.Builder extends GeneratedMessage.Builder<ListRulesRequest.Builder> implements ListRulesRequestOrBuilderRequest message for the ListRules RPC.
Protobuf type google.cloud.workloadmanager.v1.ListRulesRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListRulesRequest.BuilderImplements
ListRulesRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ListRulesRequest build()| Returns | |
|---|---|
| Type | Description |
ListRulesRequest |
|
buildPartial()
public ListRulesRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ListRulesRequest |
|
clear()
public ListRulesRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListRulesRequest.Builder |
|
clearCustomRulesBucket()
public ListRulesRequest.Builder clearCustomRulesBucket()The Cloud Storage bucket name for custom rules.
string custom_rules_bucket = 5;
| Returns | |
|---|---|
| Type | Description |
ListRulesRequest.Builder |
This builder for chaining. |
clearEvaluationType()
public ListRulesRequest.Builder clearEvaluationType()Optional. The evaluation type of the rules will be applied to. The Cloud Storage bucket name for custom rules.
.google.cloud.workloadmanager.v1.Evaluation.EvaluationType evaluation_type = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ListRulesRequest.Builder |
This builder for chaining. |
clearFilter()
public ListRulesRequest.Builder clearFilter()Filter based on primary_category, secondary_category.
string filter = 4;
| Returns | |
|---|---|
| Type | Description |
ListRulesRequest.Builder |
This builder for chaining. |
clearPageSize()
public ListRulesRequest.Builder clearPageSize()Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
int32 page_size = 2;
| Returns | |
|---|---|
| Type | Description |
ListRulesRequest.Builder |
This builder for chaining. |
clearPageToken()
public ListRulesRequest.Builder clearPageToken()A token identifying a page of results the server should return.
string page_token = 3;
| Returns | |
|---|---|
| Type | Description |
ListRulesRequest.Builder |
This builder for chaining. |
clearParent()
public ListRulesRequest.Builder clearParent()Required. The [project] on which to execute the request. The format is: projects/{project_id}/locations/{location} Currently, the pre-defined rules are global available to all projects and all regions.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ListRulesRequest.Builder |
This builder for chaining. |
getCustomRulesBucket()
public String getCustomRulesBucket()The Cloud Storage bucket name for custom rules.
string custom_rules_bucket = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The customRulesBucket. |
getCustomRulesBucketBytes()
public ByteString getCustomRulesBucketBytes()The Cloud Storage bucket name for custom rules.
string custom_rules_bucket = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for customRulesBucket. |
getDefaultInstanceForType()
public ListRulesRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListRulesRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEvaluationType()
public Evaluation.EvaluationType getEvaluationType()Optional. The evaluation type of the rules will be applied to. The Cloud Storage bucket name for custom rules.
.google.cloud.workloadmanager.v1.Evaluation.EvaluationType evaluation_type = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Evaluation.EvaluationType |
The evaluationType. |
getEvaluationTypeValue()
public int getEvaluationTypeValue()Optional. The evaluation type of the rules will be applied to. The Cloud Storage bucket name for custom rules.
.google.cloud.workloadmanager.v1.Evaluation.EvaluationType evaluation_type = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for evaluationType. |
getFilter()
public String getFilter()Filter based on primary_category, secondary_category.
string filter = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The filter. |
getFilterBytes()
public ByteString getFilterBytes()Filter based on primary_category, secondary_category.
string filter = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for filter. |
getPageSize()
public int getPageSize()Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
int32 page_size = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken()A token identifying a page of results the server should return.
string page_token = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()A token identifying a page of results the server should return.
string page_token = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
getParent()
public String getParent()Required. The [project] on which to execute the request. The format is: projects/{project_id}/locations/{location} Currently, the pre-defined rules are global available to all projects and all regions.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. The [project] on which to execute the request. The format is: projects/{project_id}/locations/{location} Currently, the pre-defined rules are global available to all projects and all regions.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListRulesRequest other)
public ListRulesRequest.Builder mergeFrom(ListRulesRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ListRulesRequest |
| Returns | |
|---|---|
| Type | Description |
ListRulesRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListRulesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListRulesRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListRulesRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListRulesRequest.Builder |
|
setCustomRulesBucket(String value)
public ListRulesRequest.Builder setCustomRulesBucket(String value)The Cloud Storage bucket name for custom rules.
string custom_rules_bucket = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe customRulesBucket to set. |
| Returns | |
|---|---|
| Type | Description |
ListRulesRequest.Builder |
This builder for chaining. |
setCustomRulesBucketBytes(ByteString value)
public ListRulesRequest.Builder setCustomRulesBucketBytes(ByteString value)The Cloud Storage bucket name for custom rules.
string custom_rules_bucket = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for customRulesBucket to set. |
| Returns | |
|---|---|
| Type | Description |
ListRulesRequest.Builder |
This builder for chaining. |
setEvaluationType(Evaluation.EvaluationType value)
public ListRulesRequest.Builder setEvaluationType(Evaluation.EvaluationType value)Optional. The evaluation type of the rules will be applied to. The Cloud Storage bucket name for custom rules.
.google.cloud.workloadmanager.v1.Evaluation.EvaluationType evaluation_type = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Evaluation.EvaluationTypeThe evaluationType to set. |
| Returns | |
|---|---|
| Type | Description |
ListRulesRequest.Builder |
This builder for chaining. |
setEvaluationTypeValue(int value)
public ListRulesRequest.Builder setEvaluationTypeValue(int value)Optional. The evaluation type of the rules will be applied to. The Cloud Storage bucket name for custom rules.
.google.cloud.workloadmanager.v1.Evaluation.EvaluationType evaluation_type = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for evaluationType to set. |
| Returns | |
|---|---|
| Type | Description |
ListRulesRequest.Builder |
This builder for chaining. |
setFilter(String value)
public ListRulesRequest.Builder setFilter(String value)Filter based on primary_category, secondary_category.
string filter = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe filter to set. |
| Returns | |
|---|---|
| Type | Description |
ListRulesRequest.Builder |
This builder for chaining. |
setFilterBytes(ByteString value)
public ListRulesRequest.Builder setFilterBytes(ByteString value)Filter based on primary_category, secondary_category.
string filter = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for filter to set. |
| Returns | |
|---|---|
| Type | Description |
ListRulesRequest.Builder |
This builder for chaining. |
setPageSize(int value)
public ListRulesRequest.Builder setPageSize(int value)Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
int32 page_size = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
ListRulesRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public ListRulesRequest.Builder setPageToken(String value)A token identifying a page of results the server should return.
string page_token = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListRulesRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListRulesRequest.Builder setPageTokenBytes(ByteString value)A token identifying a page of results the server should return.
string page_token = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListRulesRequest.Builder |
This builder for chaining. |
setParent(String value)
public ListRulesRequest.Builder setParent(String value)Required. The [project] on which to execute the request. The format is: projects/{project_id}/locations/{location} Currently, the pre-defined rules are global available to all projects and all regions.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
ListRulesRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ListRulesRequest.Builder setParentBytes(ByteString value)Required. The [project] on which to execute the request. The format is: projects/{project_id}/locations/{location} Currently, the pre-defined rules are global available to all projects and all regions.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
ListRulesRequest.Builder |
This builder for chaining. |