public interface ServiceConnectionPolicyOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsLabels(String key)
public abstract boolean containsLabels(String key)
User-defined labels.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getCreateTime()
public abstract Timestamp getCreateTime()
Output only. Time when the ServiceConnectionMap was created.
.google.protobuf.Timestamp create_time = 2;
Returns | |
---|---|
Type | Description |
Timestamp | The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time when the ServiceConnectionMap was created.
.google.protobuf.Timestamp create_time = 2;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDescription()
public abstract String getDescription()
A description of this resource.
string description = 5;
Returns | |
---|---|
Type | Description |
String | The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()
A description of this resource.
string description = 5;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for description. |
getInfrastructure()
public abstract Infrastructure getInfrastructure()
Output only. The type of underlying resources used to create the connection.
.google.events.cloud.networkconnectivity.v1.Infrastructure infrastructure = 8;
Returns | |
---|---|
Type | Description |
Infrastructure | The infrastructure. |
getInfrastructureValue()
public abstract int getInfrastructureValue()
Output only. The type of underlying resources used to create the connection.
.google.events.cloud.networkconnectivity.v1.Infrastructure infrastructure = 8;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for infrastructure. |
getLabels()
public abstract Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public abstract int getLabelsCount()
User-defined labels.
map<string, string> labels = 4;
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public abstract Map<String,String> getLabelsMap()
User-defined labels.
map<string, string> labels = 4;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public abstract String getLabelsOrDefault(String key, String defaultValue)
User-defined labels.
map<string, string> labels = 4;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public abstract String getLabelsOrThrow(String key)
User-defined labels.
map<string, string> labels = 4;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getName()
public abstract String getName()
Immutable. The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Immutable. The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getNetwork()
public abstract String getNetwork()
The resource path of the consumer network. Example:
- projects/{projectNumOrId}/global/networks/{resourceId}.
string network = 6;
Returns | |
---|---|
Type | Description |
String | The network. |
getNetworkBytes()
public abstract ByteString getNetworkBytes()
The resource path of the consumer network. Example:
- projects/{projectNumOrId}/global/networks/{resourceId}.
string network = 6;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for network. |
getPscConfig()
public abstract ServiceConnectionPolicy.PscConfig getPscConfig()
Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
.google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy.PscConfig psc_config = 9;
Returns | |
---|---|
Type | Description |
ServiceConnectionPolicy.PscConfig | The pscConfig. |
getPscConfigOrBuilder()
public abstract ServiceConnectionPolicy.PscConfigOrBuilder getPscConfigOrBuilder()
Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
.google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy.PscConfig psc_config = 9;
Returns | |
---|---|
Type | Description |
ServiceConnectionPolicy.PscConfigOrBuilder |
getPscConnections(int index)
public abstract ServiceConnectionPolicy.PscConnection getPscConnections(int index)
Output only. [Output only] Information about each Private Service Connect connection.
repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy.PscConnection psc_connections = 10;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ServiceConnectionPolicy.PscConnection |
getPscConnectionsCount()
public abstract int getPscConnectionsCount()
Output only. [Output only] Information about each Private Service Connect connection.
repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy.PscConnection psc_connections = 10;
Returns | |
---|---|
Type | Description |
int |
getPscConnectionsList()
public abstract List<ServiceConnectionPolicy.PscConnection> getPscConnectionsList()
Output only. [Output only] Information about each Private Service Connect connection.
repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy.PscConnection psc_connections = 10;
Returns | |
---|---|
Type | Description |
List<PscConnection> |
getPscConnectionsOrBuilder(int index)
public abstract ServiceConnectionPolicy.PscConnectionOrBuilder getPscConnectionsOrBuilder(int index)
Output only. [Output only] Information about each Private Service Connect connection.
repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy.PscConnection psc_connections = 10;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ServiceConnectionPolicy.PscConnectionOrBuilder |
getPscConnectionsOrBuilderList()
public abstract List<? extends ServiceConnectionPolicy.PscConnectionOrBuilder> getPscConnectionsOrBuilderList()
Output only. [Output only] Information about each Private Service Connect connection.
repeated .google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy.PscConnection psc_connections = 10;
Returns | |
---|---|
Type | Description |
List<? extends com.google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy.PscConnectionOrBuilder> |
getServiceClass()
public abstract String getServiceClass()
The service class identifier for which this ServiceConnectionPolicy is for. The service class identifier is a unique, symbolic representation of a ServiceClass. It is provided by the Service Producer. Google services have a prefix of gcp. For example, gcp-cloud-sql. 3rd party services do not. For example, test-service-a3dfcx.
string service_class = 7;
Returns | |
---|---|
Type | Description |
String | The serviceClass. |
getServiceClassBytes()
public abstract ByteString getServiceClassBytes()
The service class identifier for which this ServiceConnectionPolicy is for. The service class identifier is a unique, symbolic representation of a ServiceClass. It is provided by the Service Producer. Google services have a prefix of gcp. For example, gcp-cloud-sql. 3rd party services do not. For example, test-service-a3dfcx.
string service_class = 7;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for serviceClass. |
getUpdateTime()
public abstract Timestamp getUpdateTime()
Output only. Time when the ServiceConnectionMap was updated.
.google.protobuf.Timestamp update_time = 3;
Returns | |
---|---|
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Time when the ServiceConnectionMap was updated.
.google.protobuf.Timestamp update_time = 3;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public abstract boolean hasCreateTime()
Output only. Time when the ServiceConnectionMap was created.
.google.protobuf.Timestamp create_time = 2;
Returns | |
---|---|
Type | Description |
boolean | Whether the createTime field is set. |
hasPscConfig()
public abstract boolean hasPscConfig()
Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
.google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy.PscConfig psc_config = 9;
Returns | |
---|---|
Type | Description |
boolean | Whether the pscConfig field is set. |
hasUpdateTime()
public abstract boolean hasUpdateTime()
Output only. Time when the ServiceConnectionMap was updated.
.google.protobuf.Timestamp update_time = 3;
Returns | |
---|---|
Type | Description |
boolean | Whether the updateTime field is set. |