类 ErrorDetailsProto.InvalidArgument.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ErrorDetailsProto.InvalidArgument.Builder>
org.bdware.bdledger.api.grpc.pb.ErrorDetailsProto.InvalidArgument.Builder
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,ErrorDetailsProto.InvalidArgumentOrBuilder
public static final class ErrorDetailsProto.InvalidArgument.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ErrorDetailsProto.InvalidArgument.Builder>
implements ErrorDetailsProto.InvalidArgumentOrBuilder
InvalidArgument indicates client specified an invalid argument. Note that this differs from FailedPrecondition. It indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name).Protobuf type
bdware.bdledger.api.InvalidArgument-
方法概要
修饰符和类型方法说明addAllFieldViolations(Iterable<? extends ErrorDetailsProto.InvalidArgument.FieldViolation> values)Describes all violations in a client request.addFieldViolations(int index, ErrorDetailsProto.InvalidArgument.FieldViolation value)Describes all violations in a client request.addFieldViolations(int index, ErrorDetailsProto.InvalidArgument.FieldViolation.Builder builderForValue)Describes all violations in a client request.Describes all violations in a client request.addFieldViolations(ErrorDetailsProto.InvalidArgument.FieldViolation.Builder builderForValue)Describes all violations in a client request.Describes all violations in a client request.addFieldViolationsBuilder(int index)Describes all violations in a client request.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field)Describes all violations in a client request.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)clone()static com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFieldViolations(int index)Describes all violations in a client request.getFieldViolationsBuilder(int index)Describes all violations in a client request.Describes all violations in a client request.intDescribes all violations in a client request.Describes all violations in a client request.getFieldViolationsOrBuilder(int index)Describes all violations in a client request.Describes all violations in a client request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablebooleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)mergeFrom(com.google.protobuf.Message other)mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)removeFieldViolations(int index)Describes all violations in a client request.setFieldViolations(int index, ErrorDetailsProto.InvalidArgument.FieldViolation value)Describes all violations in a client request.setFieldViolations(int index, ErrorDetailsProto.InvalidArgument.FieldViolation.Builder builderForValue)Describes all violations in a client request.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString从类继承的方法 com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException从接口继承的方法 com.google.protobuf.MessageLite.Builder
mergeFrom从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3.Builder<ErrorDetailsProto.InvalidArgument.Builder>
-
clear
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<ErrorDetailsProto.InvalidArgument.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- 指定者:
getDescriptorForType在接口中com.google.protobuf.Message.Builder- 指定者:
getDescriptorForType在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getDescriptorForType在类中com.google.protobuf.GeneratedMessageV3.Builder<ErrorDetailsProto.InvalidArgument.Builder>
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
clone
- 指定者:
clone在接口中com.google.protobuf.Message.Builder- 指定者:
clone在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clone在类中com.google.protobuf.GeneratedMessageV3.Builder<ErrorDetailsProto.InvalidArgument.Builder>
-
setField
public ErrorDetailsProto.InvalidArgument.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)- 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<ErrorDetailsProto.InvalidArgument.Builder>
-
clearField
public ErrorDetailsProto.InvalidArgument.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)- 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<ErrorDetailsProto.InvalidArgument.Builder>
-
clearOneof
public ErrorDetailsProto.InvalidArgument.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)- 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<ErrorDetailsProto.InvalidArgument.Builder>
-
setRepeatedField
public ErrorDetailsProto.InvalidArgument.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)- 指定者:
setRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
setRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<ErrorDetailsProto.InvalidArgument.Builder>
-
addRepeatedField
public ErrorDetailsProto.InvalidArgument.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)- 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<ErrorDetailsProto.InvalidArgument.Builder>
-
mergeFrom
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<ErrorDetailsProto.InvalidArgument.Builder>
-
mergeFrom
public ErrorDetailsProto.InvalidArgument.Builder mergeFrom(ErrorDetailsProto.InvalidArgument other) -
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<ErrorDetailsProto.InvalidArgument.Builder>
-
mergeFrom
public ErrorDetailsProto.InvalidArgument.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 指定者:
mergeFrom在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<ErrorDetailsProto.InvalidArgument.Builder>- 抛出:
IOException
-
getFieldViolationsList
Describes all violations in a client request.
repeated .bdware.bdledger.api.InvalidArgument.FieldViolation field_violations = 1; -
getFieldViolationsCount
public int getFieldViolationsCount()Describes all violations in a client request.
repeated .bdware.bdledger.api.InvalidArgument.FieldViolation field_violations = 1; -
getFieldViolations
Describes all violations in a client request.
repeated .bdware.bdledger.api.InvalidArgument.FieldViolation field_violations = 1; -
setFieldViolations
public ErrorDetailsProto.InvalidArgument.Builder setFieldViolations(int index, ErrorDetailsProto.InvalidArgument.FieldViolation value)Describes all violations in a client request.
repeated .bdware.bdledger.api.InvalidArgument.FieldViolation field_violations = 1; -
setFieldViolations
public ErrorDetailsProto.InvalidArgument.Builder setFieldViolations(int index, ErrorDetailsProto.InvalidArgument.FieldViolation.Builder builderForValue)Describes all violations in a client request.
repeated .bdware.bdledger.api.InvalidArgument.FieldViolation field_violations = 1; -
addFieldViolations
public ErrorDetailsProto.InvalidArgument.Builder addFieldViolations(ErrorDetailsProto.InvalidArgument.FieldViolation value)Describes all violations in a client request.
repeated .bdware.bdledger.api.InvalidArgument.FieldViolation field_violations = 1; -
addFieldViolations
public ErrorDetailsProto.InvalidArgument.Builder addFieldViolations(int index, ErrorDetailsProto.InvalidArgument.FieldViolation value)Describes all violations in a client request.
repeated .bdware.bdledger.api.InvalidArgument.FieldViolation field_violations = 1; -
addFieldViolations
public ErrorDetailsProto.InvalidArgument.Builder addFieldViolations(ErrorDetailsProto.InvalidArgument.FieldViolation.Builder builderForValue)Describes all violations in a client request.
repeated .bdware.bdledger.api.InvalidArgument.FieldViolation field_violations = 1; -
addFieldViolations
public ErrorDetailsProto.InvalidArgument.Builder addFieldViolations(int index, ErrorDetailsProto.InvalidArgument.FieldViolation.Builder builderForValue)Describes all violations in a client request.
repeated .bdware.bdledger.api.InvalidArgument.FieldViolation field_violations = 1; -
addAllFieldViolations
public ErrorDetailsProto.InvalidArgument.Builder addAllFieldViolations(Iterable<? extends ErrorDetailsProto.InvalidArgument.FieldViolation> values)Describes all violations in a client request.
repeated .bdware.bdledger.api.InvalidArgument.FieldViolation field_violations = 1; -
clearFieldViolations
Describes all violations in a client request.
repeated .bdware.bdledger.api.InvalidArgument.FieldViolation field_violations = 1; -
removeFieldViolations
Describes all violations in a client request.
repeated .bdware.bdledger.api.InvalidArgument.FieldViolation field_violations = 1; -
getFieldViolationsBuilder
public ErrorDetailsProto.InvalidArgument.FieldViolation.Builder getFieldViolationsBuilder(int index)Describes all violations in a client request.
repeated .bdware.bdledger.api.InvalidArgument.FieldViolation field_violations = 1; -
getFieldViolationsOrBuilder
public ErrorDetailsProto.InvalidArgument.FieldViolationOrBuilder getFieldViolationsOrBuilder(int index)Describes all violations in a client request.
repeated .bdware.bdledger.api.InvalidArgument.FieldViolation field_violations = 1; -
getFieldViolationsOrBuilderList
public List<? extends ErrorDetailsProto.InvalidArgument.FieldViolationOrBuilder> getFieldViolationsOrBuilderList()Describes all violations in a client request.
repeated .bdware.bdledger.api.InvalidArgument.FieldViolation field_violations = 1; -
addFieldViolationsBuilder
Describes all violations in a client request.
repeated .bdware.bdledger.api.InvalidArgument.FieldViolation field_violations = 1; -
addFieldViolationsBuilder
public ErrorDetailsProto.InvalidArgument.FieldViolation.Builder addFieldViolationsBuilder(int index)Describes all violations in a client request.
repeated .bdware.bdledger.api.InvalidArgument.FieldViolation field_violations = 1; -
getFieldViolationsBuilderList
public List<ErrorDetailsProto.InvalidArgument.FieldViolation.Builder> getFieldViolationsBuilderList()Describes all violations in a client request.
repeated .bdware.bdledger.api.InvalidArgument.FieldViolation field_violations = 1; -
setUnknownFields
public final ErrorDetailsProto.InvalidArgument.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<ErrorDetailsProto.InvalidArgument.Builder>
-
mergeUnknownFields
public final ErrorDetailsProto.InvalidArgument.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<ErrorDetailsProto.InvalidArgument.Builder>
-