类 VirtualServiceOuterClass.Headers.HeaderOperations
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- istio.networking.v1alpha3.VirtualServiceOuterClass.Headers.HeaderOperations
-
- 所有已实现的接口:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,VirtualServiceOuterClass.Headers.HeaderOperationsOrBuilder,java.io.Serializable
public static final class VirtualServiceOuterClass.Headers.HeaderOperations extends com.google.protobuf.GeneratedMessageV3 implements VirtualServiceOuterClass.Headers.HeaderOperationsOrBuilder
HeaderOperations Describes the header manipulations to apply
Protobuf typeistio.networking.v1alpha3.Headers.HeaderOperations- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 private static classVirtualServiceOuterClass.Headers.HeaderOperations.AddDefaultEntryHolderstatic classVirtualServiceOuterClass.Headers.HeaderOperations.BuilderHeaderOperations Describes the header manipulations to applyprivate static classVirtualServiceOuterClass.Headers.HeaderOperations.SetDefaultEntryHolder-
从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
字段概要
字段 修饰符和类型 字段 说明 private com.google.protobuf.MapField<java.lang.String,java.lang.String>add_static intADD_FIELD_NUMBERprivate static VirtualServiceOuterClass.Headers.HeaderOperationsDEFAULT_INSTANCEprivate bytememoizedIsInitializedprivate static com.google.protobuf.Parser<VirtualServiceOuterClass.Headers.HeaderOperations>PARSERprivate com.google.protobuf.LazyStringListremove_static intREMOVE_FIELD_NUMBERprivate static longserialVersionUIDprivate com.google.protobuf.MapField<java.lang.String,java.lang.String>set_static intSET_FIELD_NUMBER
-
构造器概要
构造器 限定符 构造器 说明 privateHeaderOperations()privateHeaderOperations(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
-
方法概要
所有方法 静态方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 booleancontainsAdd(java.lang.String key)Append the given values to the headers specified by keys (will create a comma-separated list of values)booleancontainsSet(java.lang.String key)Overwrite the headers specified by key with the given valuesbooleanequals(java.lang.Object obj)java.util.Map<java.lang.String,java.lang.String>getAdd()已过时。intgetAddCount()Append the given values to the headers specified by keys (will create a comma-separated list of values)java.util.Map<java.lang.String,java.lang.String>getAddMap()Append the given values to the headers specified by keys (will create a comma-separated list of values)java.lang.StringgetAddOrDefault(java.lang.String key, java.lang.String defaultValue)Append the given values to the headers specified by keys (will create a comma-separated list of values)java.lang.StringgetAddOrThrow(java.lang.String key)Append the given values to the headers specified by keys (will create a comma-separated list of values)static VirtualServiceOuterClass.Headers.HeaderOperationsgetDefaultInstance()VirtualServiceOuterClass.Headers.HeaderOperationsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<VirtualServiceOuterClass.Headers.HeaderOperations>getParserForType()java.lang.StringgetRemove(int index)Remove a the specified headerscom.google.protobuf.ByteStringgetRemoveBytes(int index)Remove a the specified headersintgetRemoveCount()Remove a the specified headerscom.google.protobuf.ProtocolStringListgetRemoveList()Remove a the specified headersintgetSerializedSize()java.util.Map<java.lang.String,java.lang.String>getSet()已过时。intgetSetCount()Overwrite the headers specified by key with the given valuesjava.util.Map<java.lang.String,java.lang.String>getSetMap()Overwrite the headers specified by key with the given valuesjava.lang.StringgetSetOrDefault(java.lang.String key, java.lang.String defaultValue)Overwrite the headers specified by key with the given valuesjava.lang.StringgetSetOrThrow(java.lang.String key)Overwrite the headers specified by key with the given valuescom.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()private com.google.protobuf.MapField<java.lang.String,java.lang.String>internalGetAdd()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)private com.google.protobuf.MapField<java.lang.String,java.lang.String>internalGetSet()booleanisInitialized()static VirtualServiceOuterClass.Headers.HeaderOperations.BuildernewBuilder()static VirtualServiceOuterClass.Headers.HeaderOperations.BuildernewBuilder(VirtualServiceOuterClass.Headers.HeaderOperations prototype)VirtualServiceOuterClass.Headers.HeaderOperations.BuildernewBuilderForType()protected VirtualServiceOuterClass.Headers.HeaderOperations.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static VirtualServiceOuterClass.Headers.HeaderOperationsparseDelimitedFrom(java.io.InputStream input)static VirtualServiceOuterClass.Headers.HeaderOperationsparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VirtualServiceOuterClass.Headers.HeaderOperationsparseFrom(byte[] data)static VirtualServiceOuterClass.Headers.HeaderOperationsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VirtualServiceOuterClass.Headers.HeaderOperationsparseFrom(com.google.protobuf.ByteString data)static VirtualServiceOuterClass.Headers.HeaderOperationsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VirtualServiceOuterClass.Headers.HeaderOperationsparseFrom(com.google.protobuf.CodedInputStream input)static VirtualServiceOuterClass.Headers.HeaderOperationsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VirtualServiceOuterClass.Headers.HeaderOperationsparseFrom(java.io.InputStream input)static VirtualServiceOuterClass.Headers.HeaderOperationsparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VirtualServiceOuterClass.Headers.HeaderOperationsparseFrom(java.nio.ByteBuffer data)static VirtualServiceOuterClass.Headers.HeaderOperationsparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<VirtualServiceOuterClass.Headers.HeaderOperations>parser()VirtualServiceOuterClass.Headers.HeaderOperations.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
从类继承的方法 com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
-
-
-
字段详细资料
-
serialVersionUID
private static final long serialVersionUID
- 另请参阅:
- 常量字段值
-
SET_FIELD_NUMBER
public static final int SET_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
set_
private com.google.protobuf.MapField<java.lang.String,java.lang.String> set_
-
ADD_FIELD_NUMBER
public static final int ADD_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
add_
private com.google.protobuf.MapField<java.lang.String,java.lang.String> add_
-
REMOVE_FIELD_NUMBER
public static final int REMOVE_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
remove_
private com.google.protobuf.LazyStringList remove_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final VirtualServiceOuterClass.Headers.HeaderOperations DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<VirtualServiceOuterClass.Headers.HeaderOperations> PARSER
-
-
方法详细资料
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 覆盖:
newInstance在类中com.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- 指定者:
getUnknownFields在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getUnknownFields在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- 覆盖:
internalGetMapField在类中com.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3
-
internalGetSet
private com.google.protobuf.MapField<java.lang.String,java.lang.String> internalGetSet()
-
getSetCount
public int getSetCount()
Overwrite the headers specified by key with the given values
map<string, string> set = 1;
-
containsSet
public boolean containsSet(java.lang.String key)
Overwrite the headers specified by key with the given values
map<string, string> set = 1;
-
getSet
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getSet()
已过时。UsegetSetMap()instead.
-
getSetMap
public java.util.Map<java.lang.String,java.lang.String> getSetMap()
Overwrite the headers specified by key with the given values
map<string, string> set = 1;
-
getSetOrDefault
public java.lang.String getSetOrDefault(java.lang.String key, java.lang.String defaultValue)Overwrite the headers specified by key with the given values
map<string, string> set = 1;
-
getSetOrThrow
public java.lang.String getSetOrThrow(java.lang.String key)
Overwrite the headers specified by key with the given values
map<string, string> set = 1;
-
internalGetAdd
private com.google.protobuf.MapField<java.lang.String,java.lang.String> internalGetAdd()
-
getAddCount
public int getAddCount()
Append the given values to the headers specified by keys (will create a comma-separated list of values)
map<string, string> add = 2;
-
containsAdd
public boolean containsAdd(java.lang.String key)
Append the given values to the headers specified by keys (will create a comma-separated list of values)
map<string, string> add = 2;
-
getAdd
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getAdd()
已过时。UsegetAddMap()instead.
-
getAddMap
public java.util.Map<java.lang.String,java.lang.String> getAddMap()
Append the given values to the headers specified by keys (will create a comma-separated list of values)
map<string, string> add = 2;
-
getAddOrDefault
public java.lang.String getAddOrDefault(java.lang.String key, java.lang.String defaultValue)Append the given values to the headers specified by keys (will create a comma-separated list of values)
map<string, string> add = 2;
-
getAddOrThrow
public java.lang.String getAddOrThrow(java.lang.String key)
Append the given values to the headers specified by keys (will create a comma-separated list of values)
map<string, string> add = 2;
-
getRemoveList
public com.google.protobuf.ProtocolStringList getRemoveList()
Remove a the specified headers
repeated string remove = 3;- 指定者:
getRemoveList在接口中VirtualServiceOuterClass.Headers.HeaderOperationsOrBuilder- 返回:
- A list containing the remove.
-
getRemoveCount
public int getRemoveCount()
Remove a the specified headers
repeated string remove = 3;- 指定者:
getRemoveCount在接口中VirtualServiceOuterClass.Headers.HeaderOperationsOrBuilder- 返回:
- The count of remove.
-
getRemove
public java.lang.String getRemove(int index)
Remove a the specified headers
repeated string remove = 3;- 指定者:
getRemove在接口中VirtualServiceOuterClass.Headers.HeaderOperationsOrBuilder- 参数:
index- The index of the element to return.- 返回:
- The remove at the given index.
-
getRemoveBytes
public com.google.protobuf.ByteString getRemoveBytes(int index)
Remove a the specified headers
repeated string remove = 3;- 指定者:
getRemoveBytes在接口中VirtualServiceOuterClass.Headers.HeaderOperationsOrBuilder- 参数:
index- The index of the value to return.- 返回:
- The bytes of the remove at the given index.
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 指定者:
equals在接口中com.google.protobuf.Message- 覆盖:
equals在类中com.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- 指定者:
hashCode在接口中com.google.protobuf.Message- 覆盖:
hashCode在类中com.google.protobuf.AbstractMessage
-
parseFrom
public static VirtualServiceOuterClass.Headers.HeaderOperations parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirtualServiceOuterClass.Headers.HeaderOperations parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirtualServiceOuterClass.Headers.HeaderOperations parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirtualServiceOuterClass.Headers.HeaderOperations parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirtualServiceOuterClass.Headers.HeaderOperations parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirtualServiceOuterClass.Headers.HeaderOperations parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static VirtualServiceOuterClass.Headers.HeaderOperations parseFrom(java.io.InputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static VirtualServiceOuterClass.Headers.HeaderOperations parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static VirtualServiceOuterClass.Headers.HeaderOperations parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static VirtualServiceOuterClass.Headers.HeaderOperations parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static VirtualServiceOuterClass.Headers.HeaderOperations parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static VirtualServiceOuterClass.Headers.HeaderOperations parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
newBuilderForType
public VirtualServiceOuterClass.Headers.HeaderOperations.Builder newBuilderForType()
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
public static VirtualServiceOuterClass.Headers.HeaderOperations.Builder newBuilder()
-
newBuilder
public static VirtualServiceOuterClass.Headers.HeaderOperations.Builder newBuilder(VirtualServiceOuterClass.Headers.HeaderOperations prototype)
-
toBuilder
public VirtualServiceOuterClass.Headers.HeaderOperations.Builder toBuilder()
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
newBuilderForType
protected VirtualServiceOuterClass.Headers.HeaderOperations.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- 指定者:
newBuilderForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static VirtualServiceOuterClass.Headers.HeaderOperations getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<VirtualServiceOuterClass.Headers.HeaderOperations> parser()
-
getParserForType
public com.google.protobuf.Parser<VirtualServiceOuterClass.Headers.HeaderOperations> getParserForType()
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public VirtualServiceOuterClass.Headers.HeaderOperations getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
-