Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class TokenRevokeKycTransactionBody.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<TokenRevokeKycTransactionBody,TokenRevokeKycTransactionBody.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<TokenRevokeKycTransactionBody,TokenRevokeKycTransactionBody.Builder>
com.hedera.hashgraph.sdk.proto.TokenRevokeKycTransactionBody.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,TokenRevokeKycTransactionBodyOrBuilder,Cloneable
- Enclosing class:
TokenRevokeKycTransactionBody
public static final class TokenRevokeKycTransactionBody.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<TokenRevokeKycTransactionBody,TokenRevokeKycTransactionBody.Builder>
implements TokenRevokeKycTransactionBodyOrBuilder
* Revoke "Know Your Customer"(KYC) from one account for a single token. This transaction MUST be signed by the `kyc_key` for the token.<br/> The identified token MUST have a `kyc_key` set to a valid `Key` value.<br/> The token `kyc_key` MUST NOT be an empty `KeyList`.<br/> The identified token MUST exist and MUST NOT be deleted.<br/> The identified account MUST exist and MUST NOT be deleted.<br/> The identified account MUST have an association to the identified token.<br/> On success the association between the identified account and the identified token SHALL NOT be marked as "KYC granted". ### Block Stream Effects NoneProtobuf type
proto.TokenRevokeKycTransactionBody-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* An account identifier.* A token identifier.* An account identifier.getToken()* A token identifier.boolean* An account identifier.booleanhasToken()* A token identifier.mergeAccount(AccountID value) * An account identifier.mergeToken(TokenID value) * A token identifier.setAccount(AccountID value) * An account identifier.setAccount(AccountID.Builder builderForValue) * An account identifier.* A token identifier.setToken(TokenID.Builder builderForValue) * A token identifier.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasToken
public boolean hasToken()* A token identifier. <p> The identified token SHALL revoke "KYC" for the account identified by the `account` field.<br/> The identified token MUST be associated to the account identified by the `account` field.
.proto.TokenID token = 1;- Specified by:
hasTokenin interfaceTokenRevokeKycTransactionBodyOrBuilder- Returns:
- Whether the token field is set.
-
getToken
* A token identifier. <p> The identified token SHALL revoke "KYC" for the account identified by the `account` field.<br/> The identified token MUST be associated to the account identified by the `account` field.
.proto.TokenID token = 1;- Specified by:
getTokenin interfaceTokenRevokeKycTransactionBodyOrBuilder- Returns:
- The token.
-
setToken
* A token identifier. <p> The identified token SHALL revoke "KYC" for the account identified by the `account` field.<br/> The identified token MUST be associated to the account identified by the `account` field.
.proto.TokenID token = 1; -
setToken
* A token identifier. <p> The identified token SHALL revoke "KYC" for the account identified by the `account` field.<br/> The identified token MUST be associated to the account identified by the `account` field.
.proto.TokenID token = 1; -
mergeToken
* A token identifier. <p> The identified token SHALL revoke "KYC" for the account identified by the `account` field.<br/> The identified token MUST be associated to the account identified by the `account` field.
.proto.TokenID token = 1; -
clearToken
* A token identifier. <p> The identified token SHALL revoke "KYC" for the account identified by the `account` field.<br/> The identified token MUST be associated to the account identified by the `account` field.
.proto.TokenID token = 1; -
hasAccount
public boolean hasAccount()* An account identifier. <p> The token identified by the `token` field SHALL revoke "KYC" for the identified account.<br/> This account MUST be associated to the token identified by the `token` field.
.proto.AccountID account = 2;- Specified by:
hasAccountin interfaceTokenRevokeKycTransactionBodyOrBuilder- Returns:
- Whether the account field is set.
-
getAccount
* An account identifier. <p> The token identified by the `token` field SHALL revoke "KYC" for the identified account.<br/> This account MUST be associated to the token identified by the `token` field.
.proto.AccountID account = 2;- Specified by:
getAccountin interfaceTokenRevokeKycTransactionBodyOrBuilder- Returns:
- The account.
-
setAccount
* An account identifier. <p> The token identified by the `token` field SHALL revoke "KYC" for the identified account.<br/> This account MUST be associated to the token identified by the `token` field.
.proto.AccountID account = 2; -
setAccount
* An account identifier. <p> The token identified by the `token` field SHALL revoke "KYC" for the identified account.<br/> This account MUST be associated to the token identified by the `token` field.
.proto.AccountID account = 2; -
mergeAccount
* An account identifier. <p> The token identified by the `token` field SHALL revoke "KYC" for the identified account.<br/> This account MUST be associated to the token identified by the `token` field.
.proto.AccountID account = 2; -
clearAccount
* An account identifier. <p> The token identified by the `token` field SHALL revoke "KYC" for the identified account.<br/> This account MUST be associated to the token identified by the `token` field.
.proto.AccountID account = 2;
-