public static final class CacheInvalidationRule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CacheInvalidationRule.Builder> implements CacheInvalidationRuleOrBuilder
Protobuf type
google.cloud.compute.v1.CacheInvalidationRule| Modifier and Type | Method and Description |
|---|---|
CacheInvalidationRule.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CacheInvalidationRule |
build() |
CacheInvalidationRule |
buildPartial() |
CacheInvalidationRule.Builder |
clear() |
CacheInvalidationRule.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CacheInvalidationRule.Builder |
clearHost()
If set, this invalidation rule will only apply to requests with a Host header matching host.
|
CacheInvalidationRule.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CacheInvalidationRule.Builder |
clearPath()
optional string path = 3433509; |
CacheInvalidationRule.Builder |
clone() |
CacheInvalidationRule |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHost()
If set, this invalidation rule will only apply to requests with a Host header matching host.
|
com.google.protobuf.ByteString |
getHostBytes()
If set, this invalidation rule will only apply to requests with a Host header matching host.
|
String |
getPath()
optional string path = 3433509; |
com.google.protobuf.ByteString |
getPathBytes()
optional string path = 3433509; |
boolean |
hasHost()
If set, this invalidation rule will only apply to requests with a Host header matching host.
|
boolean |
hasPath()
optional string path = 3433509; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CacheInvalidationRule.Builder |
mergeFrom(CacheInvalidationRule other) |
CacheInvalidationRule.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CacheInvalidationRule.Builder |
mergeFrom(com.google.protobuf.Message other) |
CacheInvalidationRule.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CacheInvalidationRule.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CacheInvalidationRule.Builder |
setHost(String value)
If set, this invalidation rule will only apply to requests with a Host header matching host.
|
CacheInvalidationRule.Builder |
setHostBytes(com.google.protobuf.ByteString value)
If set, this invalidation rule will only apply to requests with a Host header matching host.
|
CacheInvalidationRule.Builder |
setPath(String value)
optional string path = 3433509; |
CacheInvalidationRule.Builder |
setPathBytes(com.google.protobuf.ByteString value)
optional string path = 3433509; |
CacheInvalidationRule.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CacheInvalidationRule.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CacheInvalidationRule.Builder>public CacheInvalidationRule.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CacheInvalidationRule.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CacheInvalidationRule.Builder>public CacheInvalidationRule getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CacheInvalidationRule build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CacheInvalidationRule buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CacheInvalidationRule.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CacheInvalidationRule.Builder>public CacheInvalidationRule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CacheInvalidationRule.Builder>public CacheInvalidationRule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CacheInvalidationRule.Builder>public CacheInvalidationRule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CacheInvalidationRule.Builder>public CacheInvalidationRule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CacheInvalidationRule.Builder>public CacheInvalidationRule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CacheInvalidationRule.Builder>public CacheInvalidationRule.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CacheInvalidationRule.Builder>public CacheInvalidationRule.Builder mergeFrom(CacheInvalidationRule other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CacheInvalidationRule.Builder>public CacheInvalidationRule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CacheInvalidationRule.Builder>IOExceptionpublic boolean hasHost()
If set, this invalidation rule will only apply to requests with a Host header matching host.
optional string host = 3208616;hasHost in interface CacheInvalidationRuleOrBuilderpublic String getHost()
If set, this invalidation rule will only apply to requests with a Host header matching host.
optional string host = 3208616;getHost in interface CacheInvalidationRuleOrBuilderpublic 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;getHostBytes in interface CacheInvalidationRuleOrBuilderpublic 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;value - The host to set.public CacheInvalidationRule.Builder clearHost()
If set, this invalidation rule will only apply to requests with a Host header matching host.
optional string host = 3208616;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;value - The bytes for host to set.public boolean hasPath()
optional string path = 3433509;hasPath in interface CacheInvalidationRuleOrBuilderpublic String getPath()
optional string path = 3433509;getPath in interface CacheInvalidationRuleOrBuilderpublic com.google.protobuf.ByteString getPathBytes()
optional string path = 3433509;getPathBytes in interface CacheInvalidationRuleOrBuilderpublic CacheInvalidationRule.Builder setPath(String value)
optional string path = 3433509;value - The path to set.public CacheInvalidationRule.Builder clearPath()
optional string path = 3433509;public CacheInvalidationRule.Builder setPathBytes(com.google.protobuf.ByteString value)
optional string path = 3433509;value - The bytes for path to set.public final CacheInvalidationRule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CacheInvalidationRule.Builder>public final CacheInvalidationRule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CacheInvalidationRule.Builder>Copyright © 2023 Google LLC. All rights reserved.