public final class CacheInvalidationRule extends GeneratedMessage implements CacheInvalidationRuleOrBuilder
Protobuf type google.cloud.compute.v1.CacheInvalidationRule
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
public static final int CACHE_TAGS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
HOST_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static CacheInvalidationRule getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CacheInvalidationRule.Builder newBuilder()
newBuilder(CacheInvalidationRule prototype)
public static CacheInvalidationRule.Builder newBuilder(CacheInvalidationRule prototype)
public static CacheInvalidationRule parseDelimitedFrom(InputStream input)
public static CacheInvalidationRule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CacheInvalidationRule parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CacheInvalidationRule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CacheInvalidationRule parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CacheInvalidationRule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CacheInvalidationRule parseFrom(CodedInputStream input)
public static CacheInvalidationRule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CacheInvalidationRule parseFrom(InputStream input)
public static CacheInvalidationRule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CacheInvalidationRule parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CacheInvalidationRule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CacheInvalidationRule> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public String getCacheTags(int index)
A list of cache tags used to identify cached objects.
- Cache tags are specified when the response is first cached, by setting
the
Cache-Tag response header at the origin.
- Multiple cache tags in the same invalidation request are treated as
Boolean
OR - for example, tag1 OR tag2 OR tag3.
- If other fields are also specified, these are treated as Boolean
AND
with any tags.
Up to 10 tags can be specified in a single invalidation request.
repeated string cache_tags = 29073078;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The cacheTags at the given index.
|
public ByteString getCacheTagsBytes(int index)
A list of cache tags used to identify cached objects.
- Cache tags are specified when the response is first cached, by setting
the
Cache-Tag response header at the origin.
- Multiple cache tags in the same invalidation request are treated as
Boolean
OR - for example, tag1 OR tag2 OR tag3.
- If other fields are also specified, these are treated as Boolean
AND
with any tags.
Up to 10 tags can be specified in a single invalidation request.
repeated string cache_tags = 29073078;
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the cacheTags at the given index.
|
public int getCacheTagsCount()
A list of cache tags used to identify cached objects.
- Cache tags are specified when the response is first cached, by setting
the
Cache-Tag response header at the origin.
- Multiple cache tags in the same invalidation request are treated as
Boolean
OR - for example, tag1 OR tag2 OR tag3.
- If other fields are also specified, these are treated as Boolean
AND
with any tags.
Up to 10 tags can be specified in a single invalidation request.
repeated string cache_tags = 29073078;
| Returns |
| Type |
Description |
int |
The count of cacheTags.
|
public ProtocolStringList getCacheTagsList()
A list of cache tags used to identify cached objects.
- Cache tags are specified when the response is first cached, by setting
the
Cache-Tag response header at the origin.
- Multiple cache tags in the same invalidation request are treated as
Boolean
OR - for example, tag1 OR tag2 OR tag3.
- If other fields are also specified, these are treated as Boolean
AND
with any tags.
Up to 10 tags can be specified in a single invalidation request.
repeated string cache_tags = 29073078;
getDefaultInstanceForType()
public CacheInvalidationRule getDefaultInstanceForType()
getHost()
If set, this invalidation rule will only apply to requests with a Host
header matching host.
optional string host = 3208616;
| Returns |
| Type |
Description |
String |
The host.
|
getHostBytes()
public ByteString getHostBytes()
If set, this invalidation rule will only apply to requests with a Host
header matching host.
optional string host = 3208616;
| Returns |
| Type |
Description |
ByteString |
The bytes for host.
|
getParserForType()
public Parser<CacheInvalidationRule> getParserForType()
Overrides
getPath()
optional string path = 3433509;
| Returns |
| Type |
Description |
String |
The path.
|
getPathBytes()
public ByteString getPathBytes()
optional string path = 3433509;
| Returns |
| Type |
Description |
ByteString |
The bytes for path.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasHost()
If set, this invalidation rule will only apply to requests with a Host
header matching host.
optional string host = 3208616;
| Returns |
| Type |
Description |
boolean |
Whether the host field is set.
|
hasPath()
optional string path = 3433509;
| Returns |
| Type |
Description |
boolean |
Whether the path field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CacheInvalidationRule.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected CacheInvalidationRule.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public CacheInvalidationRule.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides