Package namespace.cloud.compute.v1beta
Class Compute.HttpMatchRule.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Compute.HttpMatchRule.Builder>
com.google.protobuf.GeneratedMessage.Builder<Compute.HttpMatchRule.Builder>
namespace.cloud.compute.v1beta.Compute.HttpMatchRule.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Compute.HttpMatchRuleOrBuilder
- Enclosing class:
Compute.HttpMatchRule
public static final class Compute.HttpMatchRule.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Compute.HttpMatchRule.Builder>
implements Compute.HttpMatchRuleOrBuilder
Configures which HTTP requests match an ingress rule, and whether authentication is required.Protobuf type
namespace.cloud.compute.v1beta.HttpMatchRule-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()If true, requests matching this rule do not require authentication.The HTTP method and path pattern to match.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanIf true, requests matching this rule do not require authentication.getMatch()The HTTP method and path pattern to match.The HTTP method and path pattern to match.The HTTP method and path pattern to match.booleanhasMatch()The HTTP method and path pattern to match.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Compute.HttpMatchRule other) The HTTP method and path pattern to match.setDoesNotRequireAuth(boolean value) If true, requests matching this rule do not require authentication.The HTTP method and path pattern to match.setMatch(Compute.HttpMatchRule.HttpMatch.Builder builderForValue) The HTTP method and path pattern to match.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Compute.HttpMatchRule.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Compute.HttpMatchRule.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Compute.HttpMatchRule.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Compute.HttpMatchRule.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Compute.HttpMatchRule.Builder>
-
mergeFrom
public Compute.HttpMatchRule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Compute.HttpMatchRule.Builder>- Throws:
IOException
-
hasMatch
public boolean hasMatch()The HTTP method and path pattern to match.
.namespace.cloud.compute.v1beta.HttpMatchRule.HttpMatch match = 1;- Specified by:
hasMatchin interfaceCompute.HttpMatchRuleOrBuilder- Returns:
- Whether the match field is set.
-
getMatch
The HTTP method and path pattern to match.
.namespace.cloud.compute.v1beta.HttpMatchRule.HttpMatch match = 1;- Specified by:
getMatchin interfaceCompute.HttpMatchRuleOrBuilder- Returns:
- The match.
-
setMatch
The HTTP method and path pattern to match.
.namespace.cloud.compute.v1beta.HttpMatchRule.HttpMatch match = 1; -
setMatch
public Compute.HttpMatchRule.Builder setMatch(Compute.HttpMatchRule.HttpMatch.Builder builderForValue) The HTTP method and path pattern to match.
.namespace.cloud.compute.v1beta.HttpMatchRule.HttpMatch match = 1; -
mergeMatch
The HTTP method and path pattern to match.
.namespace.cloud.compute.v1beta.HttpMatchRule.HttpMatch match = 1; -
clearMatch
The HTTP method and path pattern to match.
.namespace.cloud.compute.v1beta.HttpMatchRule.HttpMatch match = 1; -
getMatchBuilder
The HTTP method and path pattern to match.
.namespace.cloud.compute.v1beta.HttpMatchRule.HttpMatch match = 1; -
getMatchOrBuilder
The HTTP method and path pattern to match.
.namespace.cloud.compute.v1beta.HttpMatchRule.HttpMatch match = 1;- Specified by:
getMatchOrBuilderin interfaceCompute.HttpMatchRuleOrBuilder
-
getDoesNotRequireAuth
public boolean getDoesNotRequireAuth()If true, requests matching this rule do not require authentication. By default, all requests require a valid Bearer token.
bool does_not_require_auth = 2;- Specified by:
getDoesNotRequireAuthin interfaceCompute.HttpMatchRuleOrBuilder- Returns:
- The doesNotRequireAuth.
-
setDoesNotRequireAuth
If true, requests matching this rule do not require authentication. By default, all requests require a valid Bearer token.
bool does_not_require_auth = 2;- Parameters:
value- The doesNotRequireAuth to set.- Returns:
- This builder for chaining.
-
clearDoesNotRequireAuth
If true, requests matching this rule do not require authentication. By default, all requests require a valid Bearer token.
bool does_not_require_auth = 2;- Returns:
- This builder for chaining.
-