Package org.yamcs.protobuf
Class CreateGroupRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<CreateGroupRequest.Builder>
org.yamcs.protobuf.CreateGroupRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,CreateGroupRequestOrBuilder
- Enclosing class:
- CreateGroupRequest
public static final class CreateGroupRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<CreateGroupRequest.Builder>
implements CreateGroupRequestOrBuilder
Protobuf type
yamcs.protobuf.iam.CreateGroupRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddAllServiceAccounts
(Iterable<String> values) Names of service accounts that should be added as memberaddAllUsers
(Iterable<String> values) Usernames of users that should be added as memberaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addServiceAccounts
(String value) Names of service accounts that should be added as memberaddServiceAccountsBytes
(com.google.protobuf.ByteString value) Names of service accounts that should be added as memberUsernames of users that should be added as memberaddUsersBytes
(com.google.protobuf.ByteString value) Usernames of users that should be added as memberbuild()
clear()
Group descriptionclearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Group nameclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Names of service accounts that should be added as memberUsernames of users that should be added as memberclone()
Group descriptioncom.google.protobuf.ByteString
Group descriptionstatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getName()
Group namecom.google.protobuf.ByteString
Group namegetServiceAccounts
(int index) Names of service accounts that should be added as membercom.google.protobuf.ByteString
getServiceAccountsBytes
(int index) Names of service accounts that should be added as memberint
Names of service accounts that should be added as membercom.google.protobuf.ProtocolStringList
Names of service accounts that should be added as membergetUsers
(int index) Usernames of users that should be added as membercom.google.protobuf.ByteString
getUsersBytes
(int index) Usernames of users that should be added as memberint
Usernames of users that should be added as membercom.google.protobuf.ProtocolStringList
Usernames of users that should be added as memberboolean
Group descriptionboolean
hasName()
Group nameprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(CreateGroupRequest other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setDescription
(String value) Group descriptionsetDescriptionBytes
(com.google.protobuf.ByteString value) Group descriptionGroup namesetNameBytes
(com.google.protobuf.ByteString value) Group namesetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setServiceAccounts
(int index, String value) Names of service accounts that should be added as membersetUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Usernames of users that should be added as memberMethods 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, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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<CreateGroupRequest.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<CreateGroupRequest.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<CreateGroupRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.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<CreateGroupRequest.Builder>
-
setField
public CreateGroupRequest.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<CreateGroupRequest.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateGroupRequest.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateGroupRequest.Builder>
-
setRepeatedField
public CreateGroupRequest.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<CreateGroupRequest.Builder>
-
addRepeatedField
public CreateGroupRequest.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<CreateGroupRequest.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CreateGroupRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateGroupRequest.Builder>
-
mergeFrom
public CreateGroupRequest.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<CreateGroupRequest.Builder>
- Throws:
IOException
-
hasName
public boolean hasName()Group name
optional string name = 1;
- Specified by:
hasName
in interfaceCreateGroupRequestOrBuilder
- Returns:
- Whether the name field is set.
-
getName
Group name
optional string name = 1;
- Specified by:
getName
in interfaceCreateGroupRequestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Group name
optional string name = 1;
- Specified by:
getNameBytes
in interfaceCreateGroupRequestOrBuilder
- Returns:
- The bytes for name.
-
setName
Group name
optional string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
Group name
optional string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
Group name
optional string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()Group description
optional string description = 2;
- Specified by:
hasDescription
in interfaceCreateGroupRequestOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
Group description
optional string description = 2;
- Specified by:
getDescription
in interfaceCreateGroupRequestOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Group description
optional string description = 2;
- Specified by:
getDescriptionBytes
in interfaceCreateGroupRequestOrBuilder
- Returns:
- The bytes for description.
-
setDescription
Group description
optional string description = 2;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Group description
optional string description = 2;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
Group description
optional string description = 2;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
getUsersList
public com.google.protobuf.ProtocolStringList getUsersList()Usernames of users that should be added as member
repeated string users = 3;
- Specified by:
getUsersList
in interfaceCreateGroupRequestOrBuilder
- Returns:
- A list containing the users.
-
getUsersCount
public int getUsersCount()Usernames of users that should be added as member
repeated string users = 3;
- Specified by:
getUsersCount
in interfaceCreateGroupRequestOrBuilder
- Returns:
- The count of users.
-
getUsers
Usernames of users that should be added as member
repeated string users = 3;
- Specified by:
getUsers
in interfaceCreateGroupRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The users at the given index.
-
getUsersBytes
public com.google.protobuf.ByteString getUsersBytes(int index) Usernames of users that should be added as member
repeated string users = 3;
- Specified by:
getUsersBytes
in interfaceCreateGroupRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the users at the given index.
-
setUsers
Usernames of users that should be added as member
repeated string users = 3;
- Parameters:
index
- The index to set the value at.value
- The users to set.- Returns:
- This builder for chaining.
-
addUsers
Usernames of users that should be added as member
repeated string users = 3;
- Parameters:
value
- The users to add.- Returns:
- This builder for chaining.
-
addAllUsers
Usernames of users that should be added as member
repeated string users = 3;
- Parameters:
values
- The users to add.- Returns:
- This builder for chaining.
-
clearUsers
Usernames of users that should be added as member
repeated string users = 3;
- Returns:
- This builder for chaining.
-
addUsersBytes
Usernames of users that should be added as member
repeated string users = 3;
- Parameters:
value
- The bytes of the users to add.- Returns:
- This builder for chaining.
-
getServiceAccountsList
public com.google.protobuf.ProtocolStringList getServiceAccountsList()Names of service accounts that should be added as member
repeated string serviceAccounts = 4;
- Specified by:
getServiceAccountsList
in interfaceCreateGroupRequestOrBuilder
- Returns:
- A list containing the serviceAccounts.
-
getServiceAccountsCount
public int getServiceAccountsCount()Names of service accounts that should be added as member
repeated string serviceAccounts = 4;
- Specified by:
getServiceAccountsCount
in interfaceCreateGroupRequestOrBuilder
- Returns:
- The count of serviceAccounts.
-
getServiceAccounts
Names of service accounts that should be added as member
repeated string serviceAccounts = 4;
- Specified by:
getServiceAccounts
in interfaceCreateGroupRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The serviceAccounts at the given index.
-
getServiceAccountsBytes
public com.google.protobuf.ByteString getServiceAccountsBytes(int index) Names of service accounts that should be added as member
repeated string serviceAccounts = 4;
- Specified by:
getServiceAccountsBytes
in interfaceCreateGroupRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the serviceAccounts at the given index.
-
setServiceAccounts
Names of service accounts that should be added as member
repeated string serviceAccounts = 4;
- Parameters:
index
- The index to set the value at.value
- The serviceAccounts to set.- Returns:
- This builder for chaining.
-
addServiceAccounts
Names of service accounts that should be added as member
repeated string serviceAccounts = 4;
- Parameters:
value
- The serviceAccounts to add.- Returns:
- This builder for chaining.
-
addAllServiceAccounts
Names of service accounts that should be added as member
repeated string serviceAccounts = 4;
- Parameters:
values
- The serviceAccounts to add.- Returns:
- This builder for chaining.
-
clearServiceAccounts
Names of service accounts that should be added as member
repeated string serviceAccounts = 4;
- Returns:
- This builder for chaining.
-
addServiceAccountsBytes
Names of service accounts that should be added as member
repeated string serviceAccounts = 4;
- Parameters:
value
- The bytes of the serviceAccounts to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final CreateGroupRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateGroupRequest.Builder>
-
mergeUnknownFields
public final CreateGroupRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateGroupRequest.Builder>
-