Package com.google.cloud.compute.v1
Interface RequestMirrorPolicyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RequestMirrorPolicy,RequestMirrorPolicy.Builder
@Generated
public interface RequestMirrorPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe full or partial URL to the BackendService resource being mirrored to.com.google.protobuf.ByteStringThe full or partial URL to the BackendService resource being mirrored to.doubleThe percentage of requests to be mirrored to `backend_service`.booleanThe full or partial URL to the BackendService resource being mirrored to.booleanThe percentage of requests to be mirrored to `backend_service`.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
-
hasBackendService
boolean hasBackendService()The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service.
optional string backend_service = 306946058;- Returns:
- Whether the backendService field is set.
-
getBackendService
String getBackendService()The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service.
optional string backend_service = 306946058;- Returns:
- The backendService.
-
getBackendServiceBytes
com.google.protobuf.ByteString getBackendServiceBytes()The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service.
optional string backend_service = 306946058;- Returns:
- The bytes for backendService.
-
hasMirrorPercent
boolean hasMirrorPercent()The percentage of requests to be mirrored to `backend_service`.
optional double mirror_percent = 277432261;- Returns:
- Whether the mirrorPercent field is set.
-
getMirrorPercent
double getMirrorPercent()The percentage of requests to be mirrored to `backend_service`.
optional double mirror_percent = 277432261;- Returns:
- The mirrorPercent.
-