Package com.daml.ledger.api.v1.admin
Class UserManagementServiceOuterClass.Right.CanActAs.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.Right.CanActAs.Builder>
-
- com.daml.ledger.api.v1.admin.UserManagementServiceOuterClass.Right.CanActAs.Builder
-
- All Implemented Interfaces:
UserManagementServiceOuterClass.Right.CanActAsOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- UserManagementServiceOuterClass.Right.CanActAs
public static final class UserManagementServiceOuterClass.Right.CanActAs.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.Right.CanActAs.Builder> implements UserManagementServiceOuterClass.Right.CanActAsOrBuilder
Protobuf typecom.daml.ledger.api.v1.admin.Right.CanActAs
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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
-
-
-
-
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<UserManagementServiceOuterClass.Right.CanActAs.Builder>
-
clear
public UserManagementServiceOuterClass.Right.CanActAs.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<UserManagementServiceOuterClass.Right.CanActAs.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<UserManagementServiceOuterClass.Right.CanActAs.Builder>
-
getDefaultInstanceForType
public UserManagementServiceOuterClass.Right.CanActAs getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public UserManagementServiceOuterClass.Right.CanActAs build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UserManagementServiceOuterClass.Right.CanActAs buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UserManagementServiceOuterClass.Right.CanActAs.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<UserManagementServiceOuterClass.Right.CanActAs.Builder>
-
setField
public UserManagementServiceOuterClass.Right.CanActAs.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.Right.CanActAs.Builder>
-
clearField
public UserManagementServiceOuterClass.Right.CanActAs.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<UserManagementServiceOuterClass.Right.CanActAs.Builder>
-
clearOneof
public UserManagementServiceOuterClass.Right.CanActAs.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<UserManagementServiceOuterClass.Right.CanActAs.Builder>
-
setRepeatedField
public UserManagementServiceOuterClass.Right.CanActAs.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.Right.CanActAs.Builder>
-
addRepeatedField
public UserManagementServiceOuterClass.Right.CanActAs.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.Right.CanActAs.Builder>
-
mergeFrom
public UserManagementServiceOuterClass.Right.CanActAs.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UserManagementServiceOuterClass.Right.CanActAs.Builder>
-
mergeFrom
public UserManagementServiceOuterClass.Right.CanActAs.Builder mergeFrom(UserManagementServiceOuterClass.Right.CanActAs other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.Right.CanActAs.Builder>
-
mergeFrom
public UserManagementServiceOuterClass.Right.CanActAs.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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<UserManagementServiceOuterClass.Right.CanActAs.Builder>
- Throws:
java.io.IOException
-
getParty
public java.lang.String getParty()
The right to authorize commands for this party.
string party = 1 [json_name = "party"];
- Specified by:
getParty
in interfaceUserManagementServiceOuterClass.Right.CanActAsOrBuilder
- Returns:
- The party.
-
getPartyBytes
public com.google.protobuf.ByteString getPartyBytes()
The right to authorize commands for this party.
string party = 1 [json_name = "party"];
- Specified by:
getPartyBytes
in interfaceUserManagementServiceOuterClass.Right.CanActAsOrBuilder
- Returns:
- The bytes for party.
-
setParty
public UserManagementServiceOuterClass.Right.CanActAs.Builder setParty(java.lang.String value)
The right to authorize commands for this party.
string party = 1 [json_name = "party"];
- Parameters:
value
- The party to set.- Returns:
- This builder for chaining.
-
clearParty
public UserManagementServiceOuterClass.Right.CanActAs.Builder clearParty()
The right to authorize commands for this party.
string party = 1 [json_name = "party"];
- Returns:
- This builder for chaining.
-
setPartyBytes
public UserManagementServiceOuterClass.Right.CanActAs.Builder setPartyBytes(com.google.protobuf.ByteString value)
The right to authorize commands for this party.
string party = 1 [json_name = "party"];
- Parameters:
value
- The bytes for party to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final UserManagementServiceOuterClass.Right.CanActAs.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.Right.CanActAs.Builder>
-
mergeUnknownFields
public final UserManagementServiceOuterClass.Right.CanActAs.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserManagementServiceOuterClass.Right.CanActAs.Builder>
-
-