Package com.google.api.expr.v1alpha1
Class Expr.Select.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<Expr.Select.Builder>
-
- com.google.api.expr.v1alpha1.Expr.Select.Builder
-
- All Implemented Interfaces:
Expr.SelectOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- Expr.Select
public static final class Expr.Select.Builder extends com.google.protobuf.GeneratedMessage.Builder<Expr.Select.Builder> implements Expr.SelectOrBuilder
A field selection expression. e.g. `request.auth`.
Protobuf typegoogle.api.expr.v1alpha1.Expr.Select
-
-
Field Summary
Fields Modifier and Type Field Description private int
bitField0_
private java.lang.Object
field_
private Expr
operand_
private com.google.protobuf.SingleFieldBuilder<Expr,Expr.Builder,ExprOrBuilder>
operandBuilder_
private boolean
testOnly_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Expr.Select
build()
Expr.Select
buildPartial()
private void
buildPartial0(Expr.Select result)
Expr.Select.Builder
clear()
Expr.Select.Builder
clearField()
Required.Expr.Select.Builder
clearOperand()
Required.Expr.Select.Builder
clearTestOnly()
Whether the select is to be interpreted as a field presence test.Expr.Select
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getField()
Required.com.google.protobuf.ByteString
getFieldBytes()
Required.Expr
getOperand()
Required.Expr.Builder
getOperandBuilder()
Required.private com.google.protobuf.SingleFieldBuilder<Expr,Expr.Builder,ExprOrBuilder>
getOperandFieldBuilder()
Required.ExprOrBuilder
getOperandOrBuilder()
Required.boolean
getTestOnly()
Whether the select is to be interpreted as a field presence test.boolean
hasOperand()
Required.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
Expr.Select.Builder
mergeFrom(Expr.Select other)
Expr.Select.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Expr.Select.Builder
mergeFrom(com.google.protobuf.Message other)
Expr.Select.Builder
mergeOperand(Expr value)
Required.Expr.Select.Builder
setField(java.lang.String value)
Required.Expr.Select.Builder
setFieldBytes(com.google.protobuf.ByteString value)
Required.Expr.Select.Builder
setOperand(Expr value)
Required.Expr.Select.Builder
setOperand(Expr.Builder builderForValue)
Required.Expr.Select.Builder
setTestOnly(boolean value)
Whether the select is to be interpreted as a field presence test.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
operand_
private Expr operand_
-
operandBuilder_
private com.google.protobuf.SingleFieldBuilder<Expr,Expr.Builder,ExprOrBuilder> operandBuilder_
-
field_
private java.lang.Object field_
-
testOnly_
private boolean testOnly_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Expr.Select.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public Expr.Select.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.GeneratedMessage.Builder<Expr.Select.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.GeneratedMessage.Builder<Expr.Select.Builder>
-
getDefaultInstanceForType
public Expr.Select getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Expr.Select build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Expr.Select buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(Expr.Select result)
-
mergeFrom
public Expr.Select.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Expr.Select.Builder>
-
mergeFrom
public Expr.Select.Builder mergeFrom(Expr.Select other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Expr.Select.Builder>
-
mergeFrom
public Expr.Select.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<Expr.Select.Builder>
- Throws:
java.io.IOException
-
hasOperand
public boolean hasOperand()
Required. The target of the selection expression. For example, in the select expression `request.auth`, the `request` portion of the expression is the `operand`.
.google.api.expr.v1alpha1.Expr operand = 1;
- Specified by:
hasOperand
in interfaceExpr.SelectOrBuilder
- Returns:
- Whether the operand field is set.
-
getOperand
public Expr getOperand()
Required. The target of the selection expression. For example, in the select expression `request.auth`, the `request` portion of the expression is the `operand`.
.google.api.expr.v1alpha1.Expr operand = 1;
- Specified by:
getOperand
in interfaceExpr.SelectOrBuilder
- Returns:
- The operand.
-
setOperand
public Expr.Select.Builder setOperand(Expr value)
Required. The target of the selection expression. For example, in the select expression `request.auth`, the `request` portion of the expression is the `operand`.
.google.api.expr.v1alpha1.Expr operand = 1;
-
setOperand
public Expr.Select.Builder setOperand(Expr.Builder builderForValue)
Required. The target of the selection expression. For example, in the select expression `request.auth`, the `request` portion of the expression is the `operand`.
.google.api.expr.v1alpha1.Expr operand = 1;
-
mergeOperand
public Expr.Select.Builder mergeOperand(Expr value)
Required. The target of the selection expression. For example, in the select expression `request.auth`, the `request` portion of the expression is the `operand`.
.google.api.expr.v1alpha1.Expr operand = 1;
-
clearOperand
public Expr.Select.Builder clearOperand()
Required. The target of the selection expression. For example, in the select expression `request.auth`, the `request` portion of the expression is the `operand`.
.google.api.expr.v1alpha1.Expr operand = 1;
-
getOperandBuilder
public Expr.Builder getOperandBuilder()
Required. The target of the selection expression. For example, in the select expression `request.auth`, the `request` portion of the expression is the `operand`.
.google.api.expr.v1alpha1.Expr operand = 1;
-
getOperandOrBuilder
public ExprOrBuilder getOperandOrBuilder()
Required. The target of the selection expression. For example, in the select expression `request.auth`, the `request` portion of the expression is the `operand`.
.google.api.expr.v1alpha1.Expr operand = 1;
- Specified by:
getOperandOrBuilder
in interfaceExpr.SelectOrBuilder
-
getOperandFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Expr,Expr.Builder,ExprOrBuilder> getOperandFieldBuilder()
Required. The target of the selection expression. For example, in the select expression `request.auth`, the `request` portion of the expression is the `operand`.
.google.api.expr.v1alpha1.Expr operand = 1;
-
getField
public java.lang.String getField()
Required. The name of the field to select. For example, in the select expression `request.auth`, the `auth` portion of the expression would be the `field`.
string field = 2;
- Specified by:
getField
in interfaceExpr.SelectOrBuilder
- Returns:
- The field.
-
getFieldBytes
public com.google.protobuf.ByteString getFieldBytes()
Required. The name of the field to select. For example, in the select expression `request.auth`, the `auth` portion of the expression would be the `field`.
string field = 2;
- Specified by:
getFieldBytes
in interfaceExpr.SelectOrBuilder
- Returns:
- The bytes for field.
-
setField
public Expr.Select.Builder setField(java.lang.String value)
Required. The name of the field to select. For example, in the select expression `request.auth`, the `auth` portion of the expression would be the `field`.
string field = 2;
- Parameters:
value
- The field to set.- Returns:
- This builder for chaining.
-
clearField
public Expr.Select.Builder clearField()
Required. The name of the field to select. For example, in the select expression `request.auth`, the `auth` portion of the expression would be the `field`.
string field = 2;
- Returns:
- This builder for chaining.
-
setFieldBytes
public Expr.Select.Builder setFieldBytes(com.google.protobuf.ByteString value)
Required. The name of the field to select. For example, in the select expression `request.auth`, the `auth` portion of the expression would be the `field`.
string field = 2;
- Parameters:
value
- The bytes for field to set.- Returns:
- This builder for chaining.
-
getTestOnly
public boolean getTestOnly()
Whether the select is to be interpreted as a field presence test. This results from the macro `has(request.auth)`.
bool test_only = 3;
- Specified by:
getTestOnly
in interfaceExpr.SelectOrBuilder
- Returns:
- The testOnly.
-
setTestOnly
public Expr.Select.Builder setTestOnly(boolean value)
Whether the select is to be interpreted as a field presence test. This results from the macro `has(request.auth)`.
bool test_only = 3;
- Parameters:
value
- The testOnly to set.- Returns:
- This builder for chaining.
-
clearTestOnly
public Expr.Select.Builder clearTestOnly()
Whether the select is to be interpreted as a field presence test. This results from the macro `has(request.auth)`.
bool test_only = 3;
- Returns:
- This builder for chaining.
-
-