public static final class PolicyInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PolicyInfo.Builder> implements PolicyInfoOrBuilder
next available id: 5Protobuf type
alluxio.grpc.policy.PolicyInfo
Modifier and Type | Method and Description |
---|---|
PolicyInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PolicyInfo |
build() |
PolicyInfo |
buildPartial() |
PolicyInfo.Builder |
clear() |
PolicyInfo.Builder |
clearCreatedAt()
optional int64 created_at = 3; |
PolicyInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PolicyInfo.Builder |
clearId()
optional int64 id = 1; |
PolicyInfo.Builder |
clearName()
optional string name = 2; |
PolicyInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PolicyInfo.Builder |
clearOptions()
optional .alluxio.grpc.policy.AddPolicyPOptions options = 4; |
PolicyInfo.Builder |
clone() |
long |
getCreatedAt()
optional int64 created_at = 3; |
PolicyInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getId()
optional int64 id = 1; |
String |
getName()
optional string name = 2; |
com.google.protobuf.ByteString |
getNameBytes()
optional string name = 2; |
AddPolicyPOptions |
getOptions()
optional .alluxio.grpc.policy.AddPolicyPOptions options = 4; |
AddPolicyPOptions.Builder |
getOptionsBuilder()
optional .alluxio.grpc.policy.AddPolicyPOptions options = 4; |
AddPolicyPOptionsOrBuilder |
getOptionsOrBuilder()
optional .alluxio.grpc.policy.AddPolicyPOptions options = 4; |
boolean |
hasCreatedAt()
optional int64 created_at = 3; |
boolean |
hasId()
optional int64 id = 1; |
boolean |
hasName()
optional string name = 2; |
boolean |
hasOptions()
optional .alluxio.grpc.policy.AddPolicyPOptions options = 4; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PolicyInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PolicyInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
PolicyInfo.Builder |
mergeFrom(PolicyInfo other) |
PolicyInfo.Builder |
mergeOptions(AddPolicyPOptions value)
optional .alluxio.grpc.policy.AddPolicyPOptions options = 4; |
PolicyInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PolicyInfo.Builder |
setCreatedAt(long value)
optional int64 created_at = 3; |
PolicyInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PolicyInfo.Builder |
setId(long value)
optional int64 id = 1; |
PolicyInfo.Builder |
setName(String value)
optional string name = 2; |
PolicyInfo.Builder |
setNameBytes(com.google.protobuf.ByteString value)
optional string name = 2; |
PolicyInfo.Builder |
setOptions(AddPolicyPOptions.Builder builderForValue)
optional .alluxio.grpc.policy.AddPolicyPOptions options = 4; |
PolicyInfo.Builder |
setOptions(AddPolicyPOptions value)
optional .alluxio.grpc.policy.AddPolicyPOptions options = 4; |
PolicyInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PolicyInfo.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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<PolicyInfo.Builder>
public PolicyInfo.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<PolicyInfo.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<PolicyInfo.Builder>
public PolicyInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public PolicyInfo build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public PolicyInfo buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public PolicyInfo.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<PolicyInfo.Builder>
public PolicyInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<PolicyInfo.Builder>
public PolicyInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<PolicyInfo.Builder>
public PolicyInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<PolicyInfo.Builder>
public PolicyInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<PolicyInfo.Builder>
public PolicyInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<PolicyInfo.Builder>
public PolicyInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<PolicyInfo.Builder>
public PolicyInfo.Builder mergeFrom(PolicyInfo other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<PolicyInfo.Builder>
public PolicyInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<PolicyInfo.Builder>
IOException
public boolean hasId()
optional int64 id = 1;
hasId
in interface PolicyInfoOrBuilder
public long getId()
optional int64 id = 1;
getId
in interface PolicyInfoOrBuilder
public PolicyInfo.Builder setId(long value)
optional int64 id = 1;
value
- The id to set.public PolicyInfo.Builder clearId()
optional int64 id = 1;
public boolean hasName()
optional string name = 2;
hasName
in interface PolicyInfoOrBuilder
public String getName()
optional string name = 2;
getName
in interface PolicyInfoOrBuilder
public com.google.protobuf.ByteString getNameBytes()
optional string name = 2;
getNameBytes
in interface PolicyInfoOrBuilder
public PolicyInfo.Builder setName(String value)
optional string name = 2;
value
- The name to set.public PolicyInfo.Builder clearName()
optional string name = 2;
public PolicyInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
optional string name = 2;
value
- The bytes for name to set.public boolean hasCreatedAt()
optional int64 created_at = 3;
hasCreatedAt
in interface PolicyInfoOrBuilder
public long getCreatedAt()
optional int64 created_at = 3;
getCreatedAt
in interface PolicyInfoOrBuilder
public PolicyInfo.Builder setCreatedAt(long value)
optional int64 created_at = 3;
value
- The createdAt to set.public PolicyInfo.Builder clearCreatedAt()
optional int64 created_at = 3;
public boolean hasOptions()
optional .alluxio.grpc.policy.AddPolicyPOptions options = 4;
hasOptions
in interface PolicyInfoOrBuilder
public AddPolicyPOptions getOptions()
optional .alluxio.grpc.policy.AddPolicyPOptions options = 4;
getOptions
in interface PolicyInfoOrBuilder
public PolicyInfo.Builder setOptions(AddPolicyPOptions value)
optional .alluxio.grpc.policy.AddPolicyPOptions options = 4;
public PolicyInfo.Builder setOptions(AddPolicyPOptions.Builder builderForValue)
optional .alluxio.grpc.policy.AddPolicyPOptions options = 4;
public PolicyInfo.Builder mergeOptions(AddPolicyPOptions value)
optional .alluxio.grpc.policy.AddPolicyPOptions options = 4;
public PolicyInfo.Builder clearOptions()
optional .alluxio.grpc.policy.AddPolicyPOptions options = 4;
public AddPolicyPOptions.Builder getOptionsBuilder()
optional .alluxio.grpc.policy.AddPolicyPOptions options = 4;
public AddPolicyPOptionsOrBuilder getOptionsOrBuilder()
optional .alluxio.grpc.policy.AddPolicyPOptions options = 4;
getOptionsOrBuilder
in interface PolicyInfoOrBuilder
public final PolicyInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<PolicyInfo.Builder>
public final PolicyInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<PolicyInfo.Builder>
Copyright © 2023. All Rights Reserved.