target.apidocs.com.google.api.services.compute.model.TargetGrpcProxy.html Maven / Gradle / Ivy
TargetGrpcProxy (Compute Engine API alpha-rev20200526-1.30.9)
com.google.api.services.compute.model
Class TargetGrpcProxy
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.compute.model.TargetGrpcProxy
-
public final class TargetGrpcProxy
extends GenericJson
Represents a Target gRPC Proxy resource.
A target gRPC proxy is a component of load balancers intended for load balancing gRPC traffic.
Global forwarding rules reference a target gRPC proxy. The Target gRPC Proxy references a URL map
which specifies how traffic routes to gRPC backend services.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
TargetGrpcProxy()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
TargetGrpcProxy
clone()
byte[]
decodeFingerprint()
Fingerprint of this resource.
TargetGrpcProxy
encodeFingerprint(byte[] fingerprint)
Fingerprint of this resource.
String
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
String
getDescription()
An optional description of this resource.
String
getFingerprint()
Fingerprint of this resource.
BigInteger
getId()
[Output Only] The unique identifier for the resource type.
String
getKind()
[Output Only] Type of the resource.
String
getName()
Name of the resource.
String
getSelfLink()
[Output Only] Server-defined URL for the resource.
String
getSelfLinkWithId()
[Output Only] Server-defined URL with id for the resource.
String
getUrlMap()
URL to the UrlMap resource that defines the mapping from URL to the BackendService.
Boolean
getValidateForProxyless()
If true, indicates that the BackendServices referenced by the urlMap may be accessed by gRPC
applications without using a sidecar proxy.
TargetGrpcProxy
set(String fieldName,
Object value)
TargetGrpcProxy
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
TargetGrpcProxy
setDescription(String description)
An optional description of this resource.
TargetGrpcProxy
setFingerprint(String fingerprint)
Fingerprint of this resource.
TargetGrpcProxy
setId(BigInteger id)
[Output Only] The unique identifier for the resource type.
TargetGrpcProxy
setKind(String kind)
[Output Only] Type of the resource.
TargetGrpcProxy
setName(String name)
Name of the resource.
TargetGrpcProxy
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
TargetGrpcProxy
setSelfLinkWithId(String selfLinkWithId)
[Output Only] Server-defined URL with id for the resource.
TargetGrpcProxy
setUrlMap(String urlMap)
URL to the UrlMap resource that defines the mapping from URL to the BackendService.
TargetGrpcProxy
setValidateForProxyless(Boolean validateForProxyless)
If true, indicates that the BackendServices referenced by the urlMap may be accessed by gRPC
applications without using a sidecar proxy.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
- Returns:
- value or
null
for none
-
setCreationTimestamp
public TargetGrpcProxy setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
- Parameters:
creationTimestamp
- creationTimestamp or null
for none
-
getDescription
public String getDescription()
An optional description of this resource. Provide this property when you create the resource.
- Returns:
- value or
null
for none
-
setDescription
public TargetGrpcProxy setDescription(String description)
An optional description of this resource. Provide this property when you create the resource.
- Parameters:
description
- description or null
for none
-
getFingerprint
public String getFingerprint()
Fingerprint of this resource. A hash of the contents stored in this object. This field is used
in optimistic locking. This field will be ignored when inserting a TargetGrpcProxy. An up-to-
date fingerprint must be provided in order to patch/update the TargetGrpcProxy; otherwise, the
request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get()
request to retrieve the TargetGrpcProxy.
- Returns:
- value or
null
for none
- See Also:
decodeFingerprint()
-
decodeFingerprint
public byte[] decodeFingerprint()
Fingerprint of this resource. A hash of the contents stored in this object. This field is used
in optimistic locking. This field will be ignored when inserting a TargetGrpcProxy. An up-to-
date fingerprint must be provided in order to patch/update the TargetGrpcProxy; otherwise, the
request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get()
request to retrieve the TargetGrpcProxy.
- Returns:
- Base64 decoded value or
null
for none
- Since:
- 1.14
- See Also:
getFingerprint()
-
setFingerprint
public TargetGrpcProxy setFingerprint(String fingerprint)
Fingerprint of this resource. A hash of the contents stored in this object. This field is used
in optimistic locking. This field will be ignored when inserting a TargetGrpcProxy. An up-to-
date fingerprint must be provided in order to patch/update the TargetGrpcProxy; otherwise, the
request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get()
request to retrieve the TargetGrpcProxy.
- Parameters:
fingerprint
- fingerprint or null
for none
- See Also:
#encodeFingerprint()
-
encodeFingerprint
public TargetGrpcProxy encodeFingerprint(byte[] fingerprint)
Fingerprint of this resource. A hash of the contents stored in this object. This field is used
in optimistic locking. This field will be ignored when inserting a TargetGrpcProxy. An up-to-
date fingerprint must be provided in order to patch/update the TargetGrpcProxy; otherwise, the
request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get()
request to retrieve the TargetGrpcProxy.
- Since:
- 1.14
- See Also:
The value is encoded Base64 or {@code null} for none.
-
getId
public BigInteger getId()
[Output Only] The unique identifier for the resource type. The server generates this
identifier.
- Returns:
- value or
null
for none
-
setId
public TargetGrpcProxy setId(BigInteger id)
[Output Only] The unique identifier for the resource type. The server generates this
identifier.
- Parameters:
id
- id or null
for none
-
getKind
public String getKind()
[Output Only] Type of the resource. Always compute#targetGrpcProxy for target grpc proxies.
- Returns:
- value or
null
for none
-
setKind
public TargetGrpcProxy setKind(String kind)
[Output Only] Type of the resource. Always compute#targetGrpcProxy for target grpc proxies.
- Parameters:
kind
- kind or null
for none
-
getName
public String getName()
Name of the resource. Provided by the client when the resource is created. The name must be
1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters
long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
character must be a lowercase letter, and all following characters must be a dash, lowercase
letter, or digit, except the last character, which cannot be a dash.
- Returns:
- value or
null
for none
-
setName
public TargetGrpcProxy setName(String name)
Name of the resource. Provided by the client when the resource is created. The name must be
1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters
long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
character must be a lowercase letter, and all following characters must be a dash, lowercase
letter, or digit, except the last character, which cannot be a dash.
- Parameters:
name
- name or null
for none
-
getSelfLink
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
- Returns:
- value or
null
for none
-
setSelfLink
public TargetGrpcProxy setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
- Parameters:
selfLink
- selfLink or null
for none
-
getSelfLinkWithId
public String getSelfLinkWithId()
[Output Only] Server-defined URL with id for the resource.
- Returns:
- value or
null
for none
-
setSelfLinkWithId
public TargetGrpcProxy setSelfLinkWithId(String selfLinkWithId)
[Output Only] Server-defined URL with id for the resource.
- Parameters:
selfLinkWithId
- selfLinkWithId or null
for none
-
getUrlMap
public String getUrlMap()
URL to the UrlMap resource that defines the mapping from URL to the BackendService. The
protocol field in the BackendService must be set to GRPC.
- Returns:
- value or
null
for none
-
setUrlMap
public TargetGrpcProxy setUrlMap(String urlMap)
URL to the UrlMap resource that defines the mapping from URL to the BackendService. The
protocol field in the BackendService must be set to GRPC.
- Parameters:
urlMap
- urlMap or null
for none
-
getValidateForProxyless
public Boolean getValidateForProxyless()
If true, indicates that the BackendServices referenced by the urlMap may be accessed by gRPC
applications without using a sidecar proxy. This will enable configuration checks on urlMap and
its referenced BackendServices to not allow unsupported features. A gRPC application must use
"xds-experimental:" scheme in the target URI of the service it is connecting to. If false,
indicates that the BackendServices referenced by the urlMap will be accessed by gRPC
applications via a sidecar proxy. In this case, a gRPC application must not use "xds-
experimental:" scheme in the target URI of the service it is connecting to
- Returns:
- value or
null
for none
-
setValidateForProxyless
public TargetGrpcProxy setValidateForProxyless(Boolean validateForProxyless)
If true, indicates that the BackendServices referenced by the urlMap may be accessed by gRPC
applications without using a sidecar proxy. This will enable configuration checks on urlMap and
its referenced BackendServices to not allow unsupported features. A gRPC application must use
"xds-experimental:" scheme in the target URI of the service it is connecting to. If false,
indicates that the BackendServices referenced by the urlMap will be accessed by gRPC
applications via a sidecar proxy. In this case, a gRPC application must not use "xds-
experimental:" scheme in the target URI of the service it is connecting to
- Parameters:
validateForProxyless
- validateForProxyless or null
for none
-
set
public TargetGrpcProxy set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public TargetGrpcProxy clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy