Class ValidateIapAttributeExpressionRequest.Builder (0.39.0)

public static final class ValidateIapAttributeExpressionRequest.Builder extends GeneratedMessage.Builder<ValidateIapAttributeExpressionRequest.Builder> implements ValidateIapAttributeExpressionRequestOrBuilder

Request sent to IAP Expression Linter endpoint.

Protobuf type google.cloud.iap.v1.ValidateIapAttributeExpressionRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ValidateIapAttributeExpressionRequest build()
Returns
Type Description
ValidateIapAttributeExpressionRequest

buildPartial()

public ValidateIapAttributeExpressionRequest buildPartial()
Returns
Type Description
ValidateIapAttributeExpressionRequest

clear()

public ValidateIapAttributeExpressionRequest.Builder clear()
Returns
Type Description
ValidateIapAttributeExpressionRequest.Builder
Overrides

clearExpression()

public ValidateIapAttributeExpressionRequest.Builder clearExpression()

Required. User input string expression. Should be of the form attributes.saml_attributes.filter(attribute, attribute.name in ['{attribute_name}', '{attribute_name}'])

string expression = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ValidateIapAttributeExpressionRequest.Builder

This builder for chaining.

clearName()

public ValidateIapAttributeExpressionRequest.Builder clearName()

Required. The resource name of the IAP protected resource.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ValidateIapAttributeExpressionRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ValidateIapAttributeExpressionRequest getDefaultInstanceForType()
Returns
Type Description
ValidateIapAttributeExpressionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExpression()

public String getExpression()

Required. User input string expression. Should be of the form attributes.saml_attributes.filter(attribute, attribute.name in ['{attribute_name}', '{attribute_name}'])

string expression = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The expression.

getExpressionBytes()

public ByteString getExpressionBytes()

Required. User input string expression. Should be of the form attributes.saml_attributes.filter(attribute, attribute.name in ['{attribute_name}', '{attribute_name}'])

string expression = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for expression.

getName()

public String getName()

Required. The resource name of the IAP protected resource.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the IAP protected resource.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ValidateIapAttributeExpressionRequest other)

public ValidateIapAttributeExpressionRequest.Builder mergeFrom(ValidateIapAttributeExpressionRequest other)
Parameter
Name Description
other ValidateIapAttributeExpressionRequest
Returns
Type Description
ValidateIapAttributeExpressionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ValidateIapAttributeExpressionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidateIapAttributeExpressionRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ValidateIapAttributeExpressionRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ValidateIapAttributeExpressionRequest.Builder
Overrides

setExpression(String value)

public ValidateIapAttributeExpressionRequest.Builder setExpression(String value)

Required. User input string expression. Should be of the form attributes.saml_attributes.filter(attribute, attribute.name in ['{attribute_name}', '{attribute_name}'])

string expression = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The expression to set.

Returns
Type Description
ValidateIapAttributeExpressionRequest.Builder

This builder for chaining.

setExpressionBytes(ByteString value)

public ValidateIapAttributeExpressionRequest.Builder setExpressionBytes(ByteString value)

Required. User input string expression. Should be of the form attributes.saml_attributes.filter(attribute, attribute.name in ['{attribute_name}', '{attribute_name}'])

string expression = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for expression to set.

Returns
Type Description
ValidateIapAttributeExpressionRequest.Builder

This builder for chaining.

setName(String value)

public ValidateIapAttributeExpressionRequest.Builder setName(String value)

Required. The resource name of the IAP protected resource.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ValidateIapAttributeExpressionRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ValidateIapAttributeExpressionRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the IAP protected resource.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ValidateIapAttributeExpressionRequest.Builder

This builder for chaining.