Package com.google.cloud.compute.v1
Class CacheInvalidationRule.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CacheInvalidationRule.Builder>
-
- com.google.cloud.compute.v1.CacheInvalidationRule.Builder
-
- All Implemented Interfaces:
CacheInvalidationRuleOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CacheInvalidationRule
public static final class CacheInvalidationRule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CacheInvalidationRule.Builder> implements CacheInvalidationRuleOrBuilder
Protobuf typegoogle.cloud.compute.v1.CacheInvalidationRule
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CacheInvalidationRule.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)CacheInvalidationRulebuild()CacheInvalidationRulebuildPartial()CacheInvalidationRule.Builderclear()CacheInvalidationRule.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)CacheInvalidationRule.BuilderclearHost()If set, this invalidation rule will only apply to requests with a Host header matching host.CacheInvalidationRule.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)CacheInvalidationRule.BuilderclearPath()optional string path = 3433509;CacheInvalidationRule.Builderclone()CacheInvalidationRulegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetHost()If set, this invalidation rule will only apply to requests with a Host header matching host.com.google.protobuf.ByteStringgetHostBytes()If set, this invalidation rule will only apply to requests with a Host header matching host.StringgetPath()optional string path = 3433509;com.google.protobuf.ByteStringgetPathBytes()optional string path = 3433509;booleanhasHost()If set, this invalidation rule will only apply to requests with a Host header matching host.booleanhasPath()optional string path = 3433509;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CacheInvalidationRule.BuildermergeFrom(CacheInvalidationRule other)CacheInvalidationRule.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CacheInvalidationRule.BuildermergeFrom(com.google.protobuf.Message other)CacheInvalidationRule.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CacheInvalidationRule.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)CacheInvalidationRule.BuildersetHost(String value)If set, this invalidation rule will only apply to requests with a Host header matching host.CacheInvalidationRule.BuildersetHostBytes(com.google.protobuf.ByteString value)If set, this invalidation rule will only apply to requests with a Host header matching host.CacheInvalidationRule.BuildersetPath(String value)optional string path = 3433509;CacheInvalidationRule.BuildersetPathBytes(com.google.protobuf.ByteString value)optional string path = 3433509;CacheInvalidationRule.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)CacheInvalidationRule.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CacheInvalidationRule.Builder>
-
clear
public CacheInvalidationRule.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<CacheInvalidationRule.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.GeneratedMessageV3.Builder<CacheInvalidationRule.Builder>
-
getDefaultInstanceForType
public CacheInvalidationRule getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CacheInvalidationRule build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CacheInvalidationRule buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CacheInvalidationRule.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<CacheInvalidationRule.Builder>
-
setField
public CacheInvalidationRule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CacheInvalidationRule.Builder>
-
clearField
public CacheInvalidationRule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CacheInvalidationRule.Builder>
-
clearOneof
public CacheInvalidationRule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CacheInvalidationRule.Builder>
-
setRepeatedField
public CacheInvalidationRule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CacheInvalidationRule.Builder>
-
addRepeatedField
public CacheInvalidationRule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CacheInvalidationRule.Builder>
-
mergeFrom
public CacheInvalidationRule.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CacheInvalidationRule.Builder>
-
mergeFrom
public CacheInvalidationRule.Builder mergeFrom(CacheInvalidationRule other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CacheInvalidationRule.Builder>
-
mergeFrom
public CacheInvalidationRule.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<CacheInvalidationRule.Builder>- Throws:
IOException
-
hasHost
public boolean hasHost()
If set, this invalidation rule will only apply to requests with a Host header matching host.
optional string host = 3208616;- Specified by:
hasHostin interfaceCacheInvalidationRuleOrBuilder- Returns:
- Whether the host field is set.
-
getHost
public String getHost()
If set, this invalidation rule will only apply to requests with a Host header matching host.
optional string host = 3208616;- Specified by:
getHostin interfaceCacheInvalidationRuleOrBuilder- Returns:
- The host.
-
getHostBytes
public com.google.protobuf.ByteString getHostBytes()
If set, this invalidation rule will only apply to requests with a Host header matching host.
optional string host = 3208616;- Specified by:
getHostBytesin interfaceCacheInvalidationRuleOrBuilder- Returns:
- The bytes for host.
-
setHost
public CacheInvalidationRule.Builder setHost(String value)
If set, this invalidation rule will only apply to requests with a Host header matching host.
optional string host = 3208616;- Parameters:
value- The host to set.- Returns:
- This builder for chaining.
-
clearHost
public CacheInvalidationRule.Builder clearHost()
If set, this invalidation rule will only apply to requests with a Host header matching host.
optional string host = 3208616;- Returns:
- This builder for chaining.
-
setHostBytes
public CacheInvalidationRule.Builder setHostBytes(com.google.protobuf.ByteString value)
If set, this invalidation rule will only apply to requests with a Host header matching host.
optional string host = 3208616;- Parameters:
value- The bytes for host to set.- Returns:
- This builder for chaining.
-
hasPath
public boolean hasPath()
optional string path = 3433509;- Specified by:
hasPathin interfaceCacheInvalidationRuleOrBuilder- Returns:
- Whether the path field is set.
-
getPath
public String getPath()
optional string path = 3433509;- Specified by:
getPathin interfaceCacheInvalidationRuleOrBuilder- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()
optional string path = 3433509;- Specified by:
getPathBytesin interfaceCacheInvalidationRuleOrBuilder- Returns:
- The bytes for path.
-
setPath
public CacheInvalidationRule.Builder setPath(String value)
optional string path = 3433509;- Parameters:
value- The path to set.- Returns:
- This builder for chaining.
-
clearPath
public CacheInvalidationRule.Builder clearPath()
optional string path = 3433509;- Returns:
- This builder for chaining.
-
setPathBytes
public CacheInvalidationRule.Builder setPathBytes(com.google.protobuf.ByteString value)
optional string path = 3433509;- Parameters:
value- The bytes for path to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final CacheInvalidationRule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CacheInvalidationRule.Builder>
-
mergeUnknownFields
public final CacheInvalidationRule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CacheInvalidationRule.Builder>
-
-