Package namespace.cloud.network.v1beta
Interface Egress.EgressPolicySpec.InjectOptsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Egress.EgressPolicySpec.InjectOpts,Egress.EgressPolicySpec.InjectOpts.Builder
- Enclosing class:
Egress.EgressPolicySpec
public static interface Egress.EgressPolicySpec.InjectOptsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionFetches the value to inject from an HTTP endpoint using GET.Fetches the value to inject from an HTTP endpoint using GET.Exactly one value source must be set.com.google.protobuf.ByteStringExactly one value source must be set.string header_name = 1;com.google.protobuf.ByteStringstring header_name = 1;.namespace.cloud.network.v1beta.EgressPolicySpec.InjectOpts.ResolutionPolicy resolution_policy = 5;int.namespace.cloud.network.v1beta.EgressPolicySpec.InjectOpts.ResolutionPolicy resolution_policy = 5;getValue()Plaintext value.com.google.protobuf.ByteStringPlaintext value.booleanFetches the value to inject from an HTTP endpoint using GET.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getHeaderName
String getHeaderName()string header_name = 1;- Returns:
- The headerName.
-
getHeaderNameBytes
com.google.protobuf.ByteString getHeaderNameBytes()string header_name = 1;- Returns:
- The bytes for headerName.
-
getFromSecretId
String getFromSecretId()Exactly one value source must be set.
string from_secret_id = 2;- Returns:
- The fromSecretId.
-
getFromSecretIdBytes
com.google.protobuf.ByteString getFromSecretIdBytes()Exactly one value source must be set.
string from_secret_id = 2;- Returns:
- The bytes for fromSecretId.
-
getValue
String getValue()Plaintext value.
string value = 3;- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()Plaintext value.
string value = 3;- Returns:
- The bytes for value.
-
hasFromEndpoint
boolean hasFromEndpoint()Fetches the value to inject from an HTTP endpoint using GET.
.namespace.cloud.network.v1beta.EgressPolicySpec.InjectOpts.FromEndpoint from_endpoint = 4;- Returns:
- Whether the fromEndpoint field is set.
-
getFromEndpoint
Egress.EgressPolicySpec.InjectOpts.FromEndpoint getFromEndpoint()Fetches the value to inject from an HTTP endpoint using GET.
.namespace.cloud.network.v1beta.EgressPolicySpec.InjectOpts.FromEndpoint from_endpoint = 4;- Returns:
- The fromEndpoint.
-
getFromEndpointOrBuilder
Egress.EgressPolicySpec.InjectOpts.FromEndpointOrBuilder getFromEndpointOrBuilder()Fetches the value to inject from an HTTP endpoint using GET.
.namespace.cloud.network.v1beta.EgressPolicySpec.InjectOpts.FromEndpoint from_endpoint = 4; -
getResolutionPolicyValue
int getResolutionPolicyValue().namespace.cloud.network.v1beta.EgressPolicySpec.InjectOpts.ResolutionPolicy resolution_policy = 5;- Returns:
- The enum numeric value on the wire for resolutionPolicy.
-
getResolutionPolicy
Egress.EgressPolicySpec.InjectOpts.ResolutionPolicy getResolutionPolicy().namespace.cloud.network.v1beta.EgressPolicySpec.InjectOpts.ResolutionPolicy resolution_policy = 5;- Returns:
- The resolutionPolicy.
-