Class ListRulesRequest (0.1.0)

public final class ListRulesRequest extends GeneratedMessage implements ListRulesRequestOrBuilder

Request message for the ListRules RPC.

Protobuf type google.cloud.workloadmanager.v1.ListRulesRequest

Static Fields

CUSTOM_RULES_BUCKET_FIELD_NUMBER

public static final int CUSTOM_RULES_BUCKET_FIELD_NUMBER
Field Value
Type Description
int

EVALUATION_TYPE_FIELD_NUMBER

public static final int EVALUATION_TYPE_FIELD_NUMBER
Field Value
Type Description
int

FILTER_FIELD_NUMBER

public static final int FILTER_FIELD_NUMBER
Field Value
Type Description
int

PAGE_SIZE_FIELD_NUMBER

public static final int PAGE_SIZE_FIELD_NUMBER
Field Value
Type Description
int

PAGE_TOKEN_FIELD_NUMBER

public static final int PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListRulesRequest getDefaultInstance()
Returns
Type Description
ListRulesRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ListRulesRequest.Builder newBuilder()
Returns
Type Description
ListRulesRequest.Builder

newBuilder(ListRulesRequest prototype)

public static ListRulesRequest.Builder newBuilder(ListRulesRequest prototype)
Parameter
Name Description
prototype ListRulesRequest
Returns
Type Description
ListRulesRequest.Builder

parseDelimitedFrom(InputStream input)

public static ListRulesRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListRulesRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListRulesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListRulesRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ListRulesRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListRulesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListRulesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListRulesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListRulesRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListRulesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListRulesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListRulesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListRulesRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListRulesRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListRulesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListRulesRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ListRulesRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListRulesRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListRulesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListRulesRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ListRulesRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListRulesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListRulesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListRulesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ListRulesRequest> parser()
Returns
Type Description
Parser<ListRulesRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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.

getParserForType()

public Parser<ListRulesRequest> getParserForType()
Returns
Type Description
Parser<ListRulesRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListRulesRequest.Builder newBuilderForType()
Returns
Type Description
ListRulesRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ListRulesRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListRulesRequest.Builder
Overrides

toBuilder()

public ListRulesRequest.Builder toBuilder()
Returns
Type Description
ListRulesRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException