public static final class HiveMetastore.RolePrincipalGrant.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HiveMetastore.RolePrincipalGrant.Builder> implements HiveMetastore.RolePrincipalGrantOrBuilder
org.apache.hadoop.hive.metastore.grpc.RolePrincipalGrant| Modifier and Type | Method and Description |
|---|---|
HiveMetastore.RolePrincipalGrant.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HiveMetastore.RolePrincipalGrant |
build() |
HiveMetastore.RolePrincipalGrant |
buildPartial() |
HiveMetastore.RolePrincipalGrant.Builder |
clear() |
HiveMetastore.RolePrincipalGrant.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
HiveMetastore.RolePrincipalGrant.Builder |
clearGrantOption()
bool grant_option = 4; |
HiveMetastore.RolePrincipalGrant.Builder |
clearGrantorName()
string grantor_name = 6; |
HiveMetastore.RolePrincipalGrant.Builder |
clearGrantorPrincipalType()
.org.apache.hadoop.hive.metastore.grpc.PrincipalType grantor_principal_type = 7; |
HiveMetastore.RolePrincipalGrant.Builder |
clearGrantTime()
int32 grant_time = 5; |
HiveMetastore.RolePrincipalGrant.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
HiveMetastore.RolePrincipalGrant.Builder |
clearPrincipalName()
string principal_name = 2; |
HiveMetastore.RolePrincipalGrant.Builder |
clearPrincipalType()
.org.apache.hadoop.hive.metastore.grpc.PrincipalType principal_type = 3; |
HiveMetastore.RolePrincipalGrant.Builder |
clearRoleName()
string role_name = 1; |
HiveMetastore.RolePrincipalGrant.Builder |
clone() |
HiveMetastore.RolePrincipalGrant |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getGrantOption()
bool grant_option = 4; |
String |
getGrantorName()
string grantor_name = 6; |
com.google.protobuf.ByteString |
getGrantorNameBytes()
string grantor_name = 6; |
HiveMetastore.PrincipalType |
getGrantorPrincipalType()
.org.apache.hadoop.hive.metastore.grpc.PrincipalType grantor_principal_type = 7; |
int |
getGrantorPrincipalTypeValue()
.org.apache.hadoop.hive.metastore.grpc.PrincipalType grantor_principal_type = 7; |
int |
getGrantTime()
int32 grant_time = 5; |
String |
getPrincipalName()
string principal_name = 2; |
com.google.protobuf.ByteString |
getPrincipalNameBytes()
string principal_name = 2; |
HiveMetastore.PrincipalType |
getPrincipalType()
.org.apache.hadoop.hive.metastore.grpc.PrincipalType principal_type = 3; |
int |
getPrincipalTypeValue()
.org.apache.hadoop.hive.metastore.grpc.PrincipalType principal_type = 3; |
String |
getRoleName()
string role_name = 1; |
com.google.protobuf.ByteString |
getRoleNameBytes()
string role_name = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HiveMetastore.RolePrincipalGrant.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HiveMetastore.RolePrincipalGrant.Builder |
mergeFrom(HiveMetastore.RolePrincipalGrant other) |
HiveMetastore.RolePrincipalGrant.Builder |
mergeFrom(com.google.protobuf.Message other) |
HiveMetastore.RolePrincipalGrant.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HiveMetastore.RolePrincipalGrant.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HiveMetastore.RolePrincipalGrant.Builder |
setGrantOption(boolean value)
bool grant_option = 4; |
HiveMetastore.RolePrincipalGrant.Builder |
setGrantorName(String value)
string grantor_name = 6; |
HiveMetastore.RolePrincipalGrant.Builder |
setGrantorNameBytes(com.google.protobuf.ByteString value)
string grantor_name = 6; |
HiveMetastore.RolePrincipalGrant.Builder |
setGrantorPrincipalType(HiveMetastore.PrincipalType value)
.org.apache.hadoop.hive.metastore.grpc.PrincipalType grantor_principal_type = 7; |
HiveMetastore.RolePrincipalGrant.Builder |
setGrantorPrincipalTypeValue(int value)
.org.apache.hadoop.hive.metastore.grpc.PrincipalType grantor_principal_type = 7; |
HiveMetastore.RolePrincipalGrant.Builder |
setGrantTime(int value)
int32 grant_time = 5; |
HiveMetastore.RolePrincipalGrant.Builder |
setPrincipalName(String value)
string principal_name = 2; |
HiveMetastore.RolePrincipalGrant.Builder |
setPrincipalNameBytes(com.google.protobuf.ByteString value)
string principal_name = 2; |
HiveMetastore.RolePrincipalGrant.Builder |
setPrincipalType(HiveMetastore.PrincipalType value)
.org.apache.hadoop.hive.metastore.grpc.PrincipalType principal_type = 3; |
HiveMetastore.RolePrincipalGrant.Builder |
setPrincipalTypeValue(int value)
.org.apache.hadoop.hive.metastore.grpc.PrincipalType principal_type = 3; |
HiveMetastore.RolePrincipalGrant.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
HiveMetastore.RolePrincipalGrant.Builder |
setRoleName(String value)
string role_name = 1; |
HiveMetastore.RolePrincipalGrant.Builder |
setRoleNameBytes(com.google.protobuf.ByteString value)
string role_name = 1; |
HiveMetastore.RolePrincipalGrant.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<HiveMetastore.RolePrincipalGrant.Builder>public HiveMetastore.RolePrincipalGrant.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<HiveMetastore.RolePrincipalGrant.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<HiveMetastore.RolePrincipalGrant.Builder>public HiveMetastore.RolePrincipalGrant getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HiveMetastore.RolePrincipalGrant build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HiveMetastore.RolePrincipalGrant buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HiveMetastore.RolePrincipalGrant.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<HiveMetastore.RolePrincipalGrant.Builder>public HiveMetastore.RolePrincipalGrant.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<HiveMetastore.RolePrincipalGrant.Builder>public HiveMetastore.RolePrincipalGrant.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<HiveMetastore.RolePrincipalGrant.Builder>public HiveMetastore.RolePrincipalGrant.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HiveMetastore.RolePrincipalGrant.Builder>public HiveMetastore.RolePrincipalGrant.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HiveMetastore.RolePrincipalGrant.Builder>public HiveMetastore.RolePrincipalGrant.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HiveMetastore.RolePrincipalGrant.Builder>public HiveMetastore.RolePrincipalGrant.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HiveMetastore.RolePrincipalGrant.Builder>public HiveMetastore.RolePrincipalGrant.Builder mergeFrom(HiveMetastore.RolePrincipalGrant other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HiveMetastore.RolePrincipalGrant.Builder>public HiveMetastore.RolePrincipalGrant.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HiveMetastore.RolePrincipalGrant.Builder>IOExceptionpublic String getRoleName()
string role_name = 1;getRoleName in interface HiveMetastore.RolePrincipalGrantOrBuilderpublic com.google.protobuf.ByteString getRoleNameBytes()
string role_name = 1;getRoleNameBytes in interface HiveMetastore.RolePrincipalGrantOrBuilderpublic HiveMetastore.RolePrincipalGrant.Builder setRoleName(String value)
string role_name = 1;value - The roleName to set.public HiveMetastore.RolePrincipalGrant.Builder clearRoleName()
string role_name = 1;public HiveMetastore.RolePrincipalGrant.Builder setRoleNameBytes(com.google.protobuf.ByteString value)
string role_name = 1;value - The bytes for roleName to set.public String getPrincipalName()
string principal_name = 2;getPrincipalName in interface HiveMetastore.RolePrincipalGrantOrBuilderpublic com.google.protobuf.ByteString getPrincipalNameBytes()
string principal_name = 2;getPrincipalNameBytes in interface HiveMetastore.RolePrincipalGrantOrBuilderpublic HiveMetastore.RolePrincipalGrant.Builder setPrincipalName(String value)
string principal_name = 2;value - The principalName to set.public HiveMetastore.RolePrincipalGrant.Builder clearPrincipalName()
string principal_name = 2;public HiveMetastore.RolePrincipalGrant.Builder setPrincipalNameBytes(com.google.protobuf.ByteString value)
string principal_name = 2;value - The bytes for principalName to set.public int getPrincipalTypeValue()
.org.apache.hadoop.hive.metastore.grpc.PrincipalType principal_type = 3;getPrincipalTypeValue in interface HiveMetastore.RolePrincipalGrantOrBuilderpublic HiveMetastore.RolePrincipalGrant.Builder setPrincipalTypeValue(int value)
.org.apache.hadoop.hive.metastore.grpc.PrincipalType principal_type = 3;value - The enum numeric value on the wire for principalType to set.public HiveMetastore.PrincipalType getPrincipalType()
.org.apache.hadoop.hive.metastore.grpc.PrincipalType principal_type = 3;getPrincipalType in interface HiveMetastore.RolePrincipalGrantOrBuilderpublic HiveMetastore.RolePrincipalGrant.Builder setPrincipalType(HiveMetastore.PrincipalType value)
.org.apache.hadoop.hive.metastore.grpc.PrincipalType principal_type = 3;value - The principalType to set.public HiveMetastore.RolePrincipalGrant.Builder clearPrincipalType()
.org.apache.hadoop.hive.metastore.grpc.PrincipalType principal_type = 3;public boolean getGrantOption()
bool grant_option = 4;getGrantOption in interface HiveMetastore.RolePrincipalGrantOrBuilderpublic HiveMetastore.RolePrincipalGrant.Builder setGrantOption(boolean value)
bool grant_option = 4;value - The grantOption to set.public HiveMetastore.RolePrincipalGrant.Builder clearGrantOption()
bool grant_option = 4;public int getGrantTime()
int32 grant_time = 5;getGrantTime in interface HiveMetastore.RolePrincipalGrantOrBuilderpublic HiveMetastore.RolePrincipalGrant.Builder setGrantTime(int value)
int32 grant_time = 5;value - The grantTime to set.public HiveMetastore.RolePrincipalGrant.Builder clearGrantTime()
int32 grant_time = 5;public String getGrantorName()
string grantor_name = 6;getGrantorName in interface HiveMetastore.RolePrincipalGrantOrBuilderpublic com.google.protobuf.ByteString getGrantorNameBytes()
string grantor_name = 6;getGrantorNameBytes in interface HiveMetastore.RolePrincipalGrantOrBuilderpublic HiveMetastore.RolePrincipalGrant.Builder setGrantorName(String value)
string grantor_name = 6;value - The grantorName to set.public HiveMetastore.RolePrincipalGrant.Builder clearGrantorName()
string grantor_name = 6;public HiveMetastore.RolePrincipalGrant.Builder setGrantorNameBytes(com.google.protobuf.ByteString value)
string grantor_name = 6;value - The bytes for grantorName to set.public int getGrantorPrincipalTypeValue()
.org.apache.hadoop.hive.metastore.grpc.PrincipalType grantor_principal_type = 7;getGrantorPrincipalTypeValue in interface HiveMetastore.RolePrincipalGrantOrBuilderpublic HiveMetastore.RolePrincipalGrant.Builder setGrantorPrincipalTypeValue(int value)
.org.apache.hadoop.hive.metastore.grpc.PrincipalType grantor_principal_type = 7;value - The enum numeric value on the wire for grantorPrincipalType to set.public HiveMetastore.PrincipalType getGrantorPrincipalType()
.org.apache.hadoop.hive.metastore.grpc.PrincipalType grantor_principal_type = 7;getGrantorPrincipalType in interface HiveMetastore.RolePrincipalGrantOrBuilderpublic HiveMetastore.RolePrincipalGrant.Builder setGrantorPrincipalType(HiveMetastore.PrincipalType value)
.org.apache.hadoop.hive.metastore.grpc.PrincipalType grantor_principal_type = 7;value - The grantorPrincipalType to set.public HiveMetastore.RolePrincipalGrant.Builder clearGrantorPrincipalType()
.org.apache.hadoop.hive.metastore.grpc.PrincipalType grantor_principal_type = 7;public final HiveMetastore.RolePrincipalGrant.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HiveMetastore.RolePrincipalGrant.Builder>public final HiveMetastore.RolePrincipalGrant.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HiveMetastore.RolePrincipalGrant.Builder>Copyright © 2024 The Apache Software Foundation. All rights reserved.