Package viam.app.v1
Class App.ListAuthorizationsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.ListAuthorizationsRequest,App.ListAuthorizationsRequest.Builder>
viam.app.v1.App.ListAuthorizationsRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,App.ListAuthorizationsRequestOrBuilder
- Enclosing class:
- App.ListAuthorizationsRequest
public static final class App.ListAuthorizationsRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<App.ListAuthorizationsRequest,App.ListAuthorizationsRequest.Builder>
implements App.ListAuthorizationsRequestOrBuilder
Protobuf type
viam.app.v1.ListAuthorizationsRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllResourceIds
(Iterable<String> values) optional filteraddResourceIds
(String value) optional filteraddResourceIdsBytes
(com.google.protobuf.ByteString value) optional filterstring organization_id = 1 [json_name = "organizationId"];
optional filterstring organization_id = 1 [json_name = "organizationId"];
com.google.protobuf.ByteString
string organization_id = 1 [json_name = "organizationId"];
getResourceIds
(int index) optional filtercom.google.protobuf.ByteString
getResourceIdsBytes
(int index) optional filterint
optional filteroptional filtersetOrganizationId
(String value) string organization_id = 1 [json_name = "organizationId"];
setOrganizationIdBytes
(com.google.protobuf.ByteString value) string organization_id = 1 [json_name = "organizationId"];
setResourceIds
(int index, String value) optional filterMethods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getOrganizationId
string organization_id = 1 [json_name = "organizationId"];
- Specified by:
getOrganizationId
in interfaceApp.ListAuthorizationsRequestOrBuilder
- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()string organization_id = 1 [json_name = "organizationId"];
- Specified by:
getOrganizationIdBytes
in interfaceApp.ListAuthorizationsRequestOrBuilder
- Returns:
- The bytes for organizationId.
-
setOrganizationId
string organization_id = 1 [json_name = "organizationId"];
- Parameters:
value
- The organizationId to set.- Returns:
- This builder for chaining.
-
clearOrganizationId
string organization_id = 1 [json_name = "organizationId"];
- Returns:
- This builder for chaining.
-
setOrganizationIdBytes
public App.ListAuthorizationsRequest.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value) string organization_id = 1 [json_name = "organizationId"];
- Parameters:
value
- The bytes for organizationId to set.- Returns:
- This builder for chaining.
-
getResourceIdsList
optional filter
repeated string resource_ids = 2 [json_name = "resourceIds"];
- Specified by:
getResourceIdsList
in interfaceApp.ListAuthorizationsRequestOrBuilder
- Returns:
- A list containing the resourceIds.
-
getResourceIdsCount
public int getResourceIdsCount()optional filter
repeated string resource_ids = 2 [json_name = "resourceIds"];
- Specified by:
getResourceIdsCount
in interfaceApp.ListAuthorizationsRequestOrBuilder
- Returns:
- The count of resourceIds.
-
getResourceIds
optional filter
repeated string resource_ids = 2 [json_name = "resourceIds"];
- Specified by:
getResourceIds
in interfaceApp.ListAuthorizationsRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The resourceIds at the given index.
-
getResourceIdsBytes
public com.google.protobuf.ByteString getResourceIdsBytes(int index) optional filter
repeated string resource_ids = 2 [json_name = "resourceIds"];
- Specified by:
getResourceIdsBytes
in interfaceApp.ListAuthorizationsRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the resourceIds at the given index.
-
setResourceIds
optional filter
repeated string resource_ids = 2 [json_name = "resourceIds"];
- Parameters:
index
- The index to set the value at.value
- The resourceIds to set.- Returns:
- This builder for chaining.
-
addResourceIds
optional filter
repeated string resource_ids = 2 [json_name = "resourceIds"];
- Parameters:
value
- The resourceIds to add.- Returns:
- This builder for chaining.
-
addAllResourceIds
optional filter
repeated string resource_ids = 2 [json_name = "resourceIds"];
- Parameters:
values
- The resourceIds to add.- Returns:
- This builder for chaining.
-
clearResourceIds
optional filter
repeated string resource_ids = 2 [json_name = "resourceIds"];
- Returns:
- This builder for chaining.
-
addResourceIdsBytes
public App.ListAuthorizationsRequest.Builder addResourceIdsBytes(com.google.protobuf.ByteString value) optional filter
repeated string resource_ids = 2 [json_name = "resourceIds"];
- Parameters:
value
- The bytes of the resourceIds to add.- Returns:
- This builder for chaining.
-