Class ListCaPoolsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListCaPoolsRequest.Builder>
-
- com.google.cloud.security.privateca.v1.ListCaPoolsRequest.Builder
-
- All Implemented Interfaces:
ListCaPoolsRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ListCaPoolsRequest
public static final class ListCaPoolsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListCaPoolsRequest.Builder> implements ListCaPoolsRequestOrBuilder
Request message for [CertificateAuthorityService.ListCaPools][google.cloud.security.privateca.v1.CertificateAuthorityService.ListCaPools].
Protobuf typegoogle.cloud.security.privateca.v1.ListCaPoolsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListCaPoolsRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListCaPoolsRequest
build()
ListCaPoolsRequest
buildPartial()
ListCaPoolsRequest.Builder
clear()
ListCaPoolsRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListCaPoolsRequest.Builder
clearFilter()
Optional.ListCaPoolsRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListCaPoolsRequest.Builder
clearOrderBy()
Optional.ListCaPoolsRequest.Builder
clearPageSize()
Optional.ListCaPoolsRequest.Builder
clearPageToken()
Optional.ListCaPoolsRequest.Builder
clearParent()
Required.ListCaPoolsRequest.Builder
clone()
ListCaPoolsRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getFilter()
Optional.com.google.protobuf.ByteString
getFilterBytes()
Optional.String
getOrderBy()
Optional.com.google.protobuf.ByteString
getOrderByBytes()
Optional.int
getPageSize()
Optional.String
getPageToken()
Optional.com.google.protobuf.ByteString
getPageTokenBytes()
Optional.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListCaPoolsRequest.Builder
mergeFrom(ListCaPoolsRequest other)
ListCaPoolsRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListCaPoolsRequest.Builder
mergeFrom(com.google.protobuf.Message other)
ListCaPoolsRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListCaPoolsRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListCaPoolsRequest.Builder
setFilter(String value)
Optional.ListCaPoolsRequest.Builder
setFilterBytes(com.google.protobuf.ByteString value)
Optional.ListCaPoolsRequest.Builder
setOrderBy(String value)
Optional.ListCaPoolsRequest.Builder
setOrderByBytes(com.google.protobuf.ByteString value)
Optional.ListCaPoolsRequest.Builder
setPageSize(int value)
Optional.ListCaPoolsRequest.Builder
setPageToken(String value)
Optional.ListCaPoolsRequest.Builder
setPageTokenBytes(com.google.protobuf.ByteString value)
Optional.ListCaPoolsRequest.Builder
setParent(String value)
Required.ListCaPoolsRequest.Builder
setParentBytes(com.google.protobuf.ByteString value)
Required.ListCaPoolsRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListCaPoolsRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCaPoolsRequest.Builder>
-
clear
public ListCaPoolsRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCaPoolsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCaPoolsRequest.Builder>
-
getDefaultInstanceForType
public ListCaPoolsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListCaPoolsRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListCaPoolsRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListCaPoolsRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCaPoolsRequest.Builder>
-
setField
public ListCaPoolsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCaPoolsRequest.Builder>
-
clearField
public ListCaPoolsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCaPoolsRequest.Builder>
-
clearOneof
public ListCaPoolsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCaPoolsRequest.Builder>
-
setRepeatedField
public ListCaPoolsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCaPoolsRequest.Builder>
-
addRepeatedField
public ListCaPoolsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCaPoolsRequest.Builder>
-
mergeFrom
public ListCaPoolsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListCaPoolsRequest.Builder>
-
mergeFrom
public ListCaPoolsRequest.Builder mergeFrom(ListCaPoolsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCaPoolsRequest.Builder>
-
mergeFrom
public ListCaPoolsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListCaPoolsRequest.Builder>
- Throws:
IOException
-
getParent
public String getParent()
Required. The resource name of the location associated with the [CaPools][google.cloud.security.privateca.v1.CaPool], in the format `projects/*/locations/*`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Specified by:
getParent
in interfaceListCaPoolsRequestOrBuilder
- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()
Required. The resource name of the location associated with the [CaPools][google.cloud.security.privateca.v1.CaPool], in the format `projects/*/locations/*`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Specified by:
getParentBytes
in interfaceListCaPoolsRequestOrBuilder
- Returns:
- The bytes for parent.
-
setParent
public ListCaPoolsRequest.Builder setParent(String value)
Required. The resource name of the location associated with the [CaPools][google.cloud.security.privateca.v1.CaPool], in the format `projects/*/locations/*`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
public ListCaPoolsRequest.Builder clearParent()
Required. The resource name of the location associated with the [CaPools][google.cloud.security.privateca.v1.CaPool], in the format `projects/*/locations/*`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setParentBytes
public ListCaPoolsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The resource name of the location associated with the [CaPools][google.cloud.security.privateca.v1.CaPool], in the format `projects/*/locations/*`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getPageSize
public int getPageSize()
Optional. Limit on the number of [CaPools][google.cloud.security.privateca.v1.CaPool] to include in the response. Further [CaPools][google.cloud.security.privateca.v1.CaPool] can subsequently be obtained by including the [ListCaPoolsResponse.next_page_token][google.cloud.security.privateca.v1.ListCaPoolsResponse.next_page_token] in a subsequent request. If unspecified, the server will pick an appropriate default.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPageSize
in interfaceListCaPoolsRequestOrBuilder
- Returns:
- The pageSize.
-
setPageSize
public ListCaPoolsRequest.Builder setPageSize(int value)
Optional. Limit on the number of [CaPools][google.cloud.security.privateca.v1.CaPool] to include in the response. Further [CaPools][google.cloud.security.privateca.v1.CaPool] can subsequently be obtained by including the [ListCaPoolsResponse.next_page_token][google.cloud.security.privateca.v1.ListCaPoolsResponse.next_page_token] in a subsequent request. If unspecified, the server will pick an appropriate default.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
public ListCaPoolsRequest.Builder clearPageSize()
Optional. Limit on the number of [CaPools][google.cloud.security.privateca.v1.CaPool] to include in the response. Further [CaPools][google.cloud.security.privateca.v1.CaPool] can subsequently be obtained by including the [ListCaPoolsResponse.next_page_token][google.cloud.security.privateca.v1.ListCaPoolsResponse.next_page_token] in a subsequent request. If unspecified, the server will pick an appropriate default.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
getPageToken
public String getPageToken()
Optional. Pagination token, returned earlier via [ListCaPoolsResponse.next_page_token][google.cloud.security.privateca.v1.ListCaPoolsResponse.next_page_token].
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPageToken
in interfaceListCaPoolsRequestOrBuilder
- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()
Optional. Pagination token, returned earlier via [ListCaPoolsResponse.next_page_token][google.cloud.security.privateca.v1.ListCaPoolsResponse.next_page_token].
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPageTokenBytes
in interfaceListCaPoolsRequestOrBuilder
- Returns:
- The bytes for pageToken.
-
setPageToken
public ListCaPoolsRequest.Builder setPageToken(String value)
Optional. Pagination token, returned earlier via [ListCaPoolsResponse.next_page_token][google.cloud.security.privateca.v1.ListCaPoolsResponse.next_page_token].
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
public ListCaPoolsRequest.Builder clearPageToken()
Optional. Pagination token, returned earlier via [ListCaPoolsResponse.next_page_token][google.cloud.security.privateca.v1.ListCaPoolsResponse.next_page_token].
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setPageTokenBytes
public ListCaPoolsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
Optional. Pagination token, returned earlier via [ListCaPoolsResponse.next_page_token][google.cloud.security.privateca.v1.ListCaPoolsResponse.next_page_token].
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-
getFilter
public String getFilter()
Optional. Only include resources that match the filter in the response.
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getFilter
in interfaceListCaPoolsRequestOrBuilder
- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()
Optional. Only include resources that match the filter in the response.
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getFilterBytes
in interfaceListCaPoolsRequestOrBuilder
- Returns:
- The bytes for filter.
-
setFilter
public ListCaPoolsRequest.Builder setFilter(String value)
Optional. Only include resources that match the filter in the response.
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The filter to set.- Returns:
- This builder for chaining.
-
clearFilter
public ListCaPoolsRequest.Builder clearFilter()
Optional. Only include resources that match the filter in the response.
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setFilterBytes
public ListCaPoolsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
Optional. Only include resources that match the filter in the response.
string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for filter to set.- Returns:
- This builder for chaining.
-
getOrderBy
public String getOrderBy()
Optional. Specify how the results should be sorted.
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getOrderBy
in interfaceListCaPoolsRequestOrBuilder
- Returns:
- The orderBy.
-
getOrderByBytes
public com.google.protobuf.ByteString getOrderByBytes()
Optional. Specify how the results should be sorted.
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getOrderByBytes
in interfaceListCaPoolsRequestOrBuilder
- Returns:
- The bytes for orderBy.
-
setOrderBy
public ListCaPoolsRequest.Builder setOrderBy(String value)
Optional. Specify how the results should be sorted.
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The orderBy to set.- Returns:
- This builder for chaining.
-
clearOrderBy
public ListCaPoolsRequest.Builder clearOrderBy()
Optional. Specify how the results should be sorted.
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setOrderByBytes
public ListCaPoolsRequest.Builder setOrderByBytes(com.google.protobuf.ByteString value)
Optional. Specify how the results should be sorted.
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for orderBy to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListCaPoolsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCaPoolsRequest.Builder>
-
mergeUnknownFields
public final ListCaPoolsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCaPoolsRequest.Builder>
-
-