public static final class CacheInvalidationRule.Builder extends GeneratedMessageV3.Builder<CacheInvalidationRule.Builder> implements CacheInvalidationRuleOrBuilder
Protobuf type google.cloud.compute.v1.CacheInvalidationRule
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CacheInvalidationRule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CacheInvalidationRule build()
buildPartial()
public CacheInvalidationRule buildPartial()
clear()
public CacheInvalidationRule.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CacheInvalidationRule.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public CacheInvalidationRule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPath()
public CacheInvalidationRule.Builder clearPath()
optional string path = 3433509;
clone()
public CacheInvalidationRule.Builder clone()
Overrides
getDefaultInstanceForType()
public CacheInvalidationRule getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CacheInvalidationRule other)
public CacheInvalidationRule.Builder mergeFrom(CacheInvalidationRule other)
public CacheInvalidationRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CacheInvalidationRule.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CacheInvalidationRule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CacheInvalidationRule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setHost(String value)
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;
Parameter |
Name |
Description |
value |
String
The host to set.
|
setHostBytes(ByteString value)
public CacheInvalidationRule.Builder setHostBytes(ByteString value)
If set, this invalidation rule will only apply to requests with a Host header matching host.
optional string host = 3208616;
Parameter |
Name |
Description |
value |
ByteString
The bytes for host to set.
|
setPath(String value)
public CacheInvalidationRule.Builder setPath(String value)
optional string path = 3433509;
Parameter |
Name |
Description |
value |
String
The path to set.
|
setPathBytes(ByteString value)
public CacheInvalidationRule.Builder setPathBytes(ByteString value)
optional string path = 3433509;
Parameter |
Name |
Description |
value |
ByteString
The bytes for path to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CacheInvalidationRule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CacheInvalidationRule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides