Package com.google.appengine.v1
Interface ServiceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Service,Service.Builder
public interface ServiceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)A set of labels to apply to this service.StringgetId()Relative name of the service within the application.com.google.protobuf.ByteStringgetIdBytes()Relative name of the service within the application.Map<String,String>getLabels()Deprecated.intgetLabelsCount()A set of labels to apply to this service.Map<String,String>getLabelsMap()A set of labels to apply to this service.StringgetLabelsOrDefault(String key, String defaultValue)A set of labels to apply to this service.StringgetLabelsOrThrow(String key)A set of labels to apply to this service.StringgetName()Full path to the Service resource in the API.com.google.protobuf.ByteStringgetNameBytes()Full path to the Service resource in the API.NetworkSettingsgetNetworkSettings()Ingress settings for this service.NetworkSettingsOrBuildergetNetworkSettingsOrBuilder()Ingress settings for this service.TrafficSplitgetSplit()Mapping that defines fractional HTTP traffic diversion to different versions within the service.TrafficSplitOrBuildergetSplitOrBuilder()Mapping that defines fractional HTTP traffic diversion to different versions within the service.booleanhasNetworkSettings()Ingress settings for this service.booleanhasSplit()Mapping that defines fractional HTTP traffic diversion to different versions within the service.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Full path to the Service resource in the API. Example: `apps/myapp/services/default`. @OutputOnly
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Full path to the Service resource in the API. Example: `apps/myapp/services/default`. @OutputOnly
string name = 1;- Returns:
- The bytes for name.
-
getId
String getId()
Relative name of the service within the application. Example: `default`. @OutputOnly
string id = 2;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
Relative name of the service within the application. Example: `default`. @OutputOnly
string id = 2;- Returns:
- The bytes for id.
-
hasSplit
boolean hasSplit()
Mapping that defines fractional HTTP traffic diversion to different versions within the service.
.google.appengine.v1.TrafficSplit split = 3;- Returns:
- Whether the split field is set.
-
getSplit
TrafficSplit getSplit()
Mapping that defines fractional HTTP traffic diversion to different versions within the service.
.google.appengine.v1.TrafficSplit split = 3;- Returns:
- The split.
-
getSplitOrBuilder
TrafficSplitOrBuilder getSplitOrBuilder()
Mapping that defines fractional HTTP traffic diversion to different versions within the service.
.google.appengine.v1.TrafficSplit split = 3;
-
getLabelsCount
int getLabelsCount()
A set of labels to apply to this service. Labels are key/value pairs that describe the service and all resources that belong to it (e.g., versions). The labels can be used to search and group resources, and are propagated to the usage and billing reports, enabling fine-grain analysis of costs. An example of using labels is to tag resources belonging to different environments (e.g., "env=prod", "env=qa"). <p>Label keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, dashes, and international characters. Label keys must start with a lowercase letter or an international character. Each service can have at most 32 labels.
map<string, string> labels = 4;
-
containsLabels
boolean containsLabels(String key)
A set of labels to apply to this service. Labels are key/value pairs that describe the service and all resources that belong to it (e.g., versions). The labels can be used to search and group resources, and are propagated to the usage and billing reports, enabling fine-grain analysis of costs. An example of using labels is to tag resources belonging to different environments (e.g., "env=prod", "env=qa"). <p>Label keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, dashes, and international characters. Label keys must start with a lowercase letter or an international character. Each service can have at most 32 labels.
map<string, string> labels = 4;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
A set of labels to apply to this service. Labels are key/value pairs that describe the service and all resources that belong to it (e.g., versions). The labels can be used to search and group resources, and are propagated to the usage and billing reports, enabling fine-grain analysis of costs. An example of using labels is to tag resources belonging to different environments (e.g., "env=prod", "env=qa"). <p>Label keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, dashes, and international characters. Label keys must start with a lowercase letter or an international character. Each service can have at most 32 labels.
map<string, string> labels = 4;
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
A set of labels to apply to this service. Labels are key/value pairs that describe the service and all resources that belong to it (e.g., versions). The labels can be used to search and group resources, and are propagated to the usage and billing reports, enabling fine-grain analysis of costs. An example of using labels is to tag resources belonging to different environments (e.g., "env=prod", "env=qa"). <p>Label keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, dashes, and international characters. Label keys must start with a lowercase letter or an international character. Each service can have at most 32 labels.
map<string, string> labels = 4;
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
A set of labels to apply to this service. Labels are key/value pairs that describe the service and all resources that belong to it (e.g., versions). The labels can be used to search and group resources, and are propagated to the usage and billing reports, enabling fine-grain analysis of costs. An example of using labels is to tag resources belonging to different environments (e.g., "env=prod", "env=qa"). <p>Label keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, dashes, and international characters. Label keys must start with a lowercase letter or an international character. Each service can have at most 32 labels.
map<string, string> labels = 4;
-
hasNetworkSettings
boolean hasNetworkSettings()
Ingress settings for this service. Will apply to all versions.
.google.appengine.v1.NetworkSettings network_settings = 6;- Returns:
- Whether the networkSettings field is set.
-
getNetworkSettings
NetworkSettings getNetworkSettings()
Ingress settings for this service. Will apply to all versions.
.google.appengine.v1.NetworkSettings network_settings = 6;- Returns:
- The networkSettings.
-
getNetworkSettingsOrBuilder
NetworkSettingsOrBuilder getNetworkSettingsOrBuilder()
Ingress settings for this service. Will apply to all versions.
.google.appengine.v1.NetworkSettings network_settings = 6;
-
-