Package com.google.appengine.v1
Class EndpointsApiService.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<EndpointsApiService.Builder>
-
- com.google.appengine.v1.EndpointsApiService.Builder
-
- All Implemented Interfaces:
EndpointsApiServiceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- EndpointsApiService
public static final class EndpointsApiService.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EndpointsApiService.Builder> implements EndpointsApiServiceOrBuilder
[Cloud Endpoints](https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy. Only valid for App Engine Flexible environment deployments. The fields here refer to the name and configuration ID of a "service" resource in the [Service Management API](https://cloud.google.com/service-management/overview).
Protobuf typegoogle.appengine.v1.EndpointsApiService
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EndpointsApiService.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)EndpointsApiServicebuild()EndpointsApiServicebuildPartial()EndpointsApiService.Builderclear()EndpointsApiService.BuilderclearConfigId()Endpoints service configuration ID as specified by the Service Management API.EndpointsApiService.BuilderclearDisableTraceSampling()Enable or disable trace sampling.EndpointsApiService.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)EndpointsApiService.BuilderclearName()Endpoints service name which is the name of the "service" resource in the Service Management API.EndpointsApiService.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)EndpointsApiService.BuilderclearRolloutStrategy()Endpoints rollout strategy.EndpointsApiService.Builderclone()StringgetConfigId()Endpoints service configuration ID as specified by the Service Management API.com.google.protobuf.ByteStringgetConfigIdBytes()Endpoints service configuration ID as specified by the Service Management API.EndpointsApiServicegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetDisableTraceSampling()Enable or disable trace sampling.StringgetName()Endpoints service name which is the name of the "service" resource in the Service Management API.com.google.protobuf.ByteStringgetNameBytes()Endpoints service name which is the name of the "service" resource in the Service Management API.EndpointsApiService.RolloutStrategygetRolloutStrategy()Endpoints rollout strategy.intgetRolloutStrategyValue()Endpoints rollout strategy.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()EndpointsApiService.BuildermergeFrom(EndpointsApiService other)EndpointsApiService.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)EndpointsApiService.BuildermergeFrom(com.google.protobuf.Message other)EndpointsApiService.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)EndpointsApiService.BuildersetConfigId(String value)Endpoints service configuration ID as specified by the Service Management API.EndpointsApiService.BuildersetConfigIdBytes(com.google.protobuf.ByteString value)Endpoints service configuration ID as specified by the Service Management API.EndpointsApiService.BuildersetDisableTraceSampling(boolean value)Enable or disable trace sampling.EndpointsApiService.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)EndpointsApiService.BuildersetName(String value)Endpoints service name which is the name of the "service" resource in the Service Management API.EndpointsApiService.BuildersetNameBytes(com.google.protobuf.ByteString value)Endpoints service name which is the name of the "service" resource in the Service Management API.EndpointsApiService.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)EndpointsApiService.BuildersetRolloutStrategy(EndpointsApiService.RolloutStrategy value)Endpoints rollout strategy.EndpointsApiService.BuildersetRolloutStrategyValue(int value)Endpoints rollout strategy.EndpointsApiService.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<EndpointsApiService.Builder>
-
clear
public EndpointsApiService.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<EndpointsApiService.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<EndpointsApiService.Builder>
-
getDefaultInstanceForType
public EndpointsApiService getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public EndpointsApiService build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public EndpointsApiService buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public EndpointsApiService.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<EndpointsApiService.Builder>
-
setField
public EndpointsApiService.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EndpointsApiService.Builder>
-
clearField
public EndpointsApiService.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EndpointsApiService.Builder>
-
clearOneof
public EndpointsApiService.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<EndpointsApiService.Builder>
-
setRepeatedField
public EndpointsApiService.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EndpointsApiService.Builder>
-
addRepeatedField
public EndpointsApiService.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EndpointsApiService.Builder>
-
mergeFrom
public EndpointsApiService.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EndpointsApiService.Builder>
-
mergeFrom
public EndpointsApiService.Builder mergeFrom(EndpointsApiService other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<EndpointsApiService.Builder>
-
mergeFrom
public EndpointsApiService.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EndpointsApiService.Builder>- Throws:
IOException
-
getName
public String getName()
Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
string name = 1;- Specified by:
getNamein interfaceEndpointsApiServiceOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
string name = 1;- Specified by:
getNameBytesin interfaceEndpointsApiServiceOrBuilder- Returns:
- The bytes for name.
-
setName
public EndpointsApiService.Builder setName(String value)
Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public EndpointsApiService.Builder clearName()
Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public EndpointsApiService.Builder setNameBytes(com.google.protobuf.ByteString value)
Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getConfigId
public String getConfigId()
Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1". By default, the rollout strategy for Endpoints is `RolloutStrategy.FIXED`. This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The `config_id` field is used to give the configuration ID and is required in this case. Endpoints also has a rollout strategy called `RolloutStrategy.MANAGED`. When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, `config_id` must be omitted.
string config_id = 2;- Specified by:
getConfigIdin interfaceEndpointsApiServiceOrBuilder- Returns:
- The configId.
-
getConfigIdBytes
public com.google.protobuf.ByteString getConfigIdBytes()
Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1". By default, the rollout strategy for Endpoints is `RolloutStrategy.FIXED`. This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The `config_id` field is used to give the configuration ID and is required in this case. Endpoints also has a rollout strategy called `RolloutStrategy.MANAGED`. When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, `config_id` must be omitted.
string config_id = 2;- Specified by:
getConfigIdBytesin interfaceEndpointsApiServiceOrBuilder- Returns:
- The bytes for configId.
-
setConfigId
public EndpointsApiService.Builder setConfigId(String value)
Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1". By default, the rollout strategy for Endpoints is `RolloutStrategy.FIXED`. This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The `config_id` field is used to give the configuration ID and is required in this case. Endpoints also has a rollout strategy called `RolloutStrategy.MANAGED`. When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, `config_id` must be omitted.
string config_id = 2;- Parameters:
value- The configId to set.- Returns:
- This builder for chaining.
-
clearConfigId
public EndpointsApiService.Builder clearConfigId()
Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1". By default, the rollout strategy for Endpoints is `RolloutStrategy.FIXED`. This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The `config_id` field is used to give the configuration ID and is required in this case. Endpoints also has a rollout strategy called `RolloutStrategy.MANAGED`. When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, `config_id` must be omitted.
string config_id = 2;- Returns:
- This builder for chaining.
-
setConfigIdBytes
public EndpointsApiService.Builder setConfigIdBytes(com.google.protobuf.ByteString value)
Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1". By default, the rollout strategy for Endpoints is `RolloutStrategy.FIXED`. This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The `config_id` field is used to give the configuration ID and is required in this case. Endpoints also has a rollout strategy called `RolloutStrategy.MANAGED`. When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, `config_id` must be omitted.
string config_id = 2;- Parameters:
value- The bytes for configId to set.- Returns:
- This builder for chaining.
-
getRolloutStrategyValue
public int getRolloutStrategyValue()
Endpoints rollout strategy. If `FIXED`, `config_id` must be specified. If `MANAGED`, `config_id` must be omitted.
.google.appengine.v1.EndpointsApiService.RolloutStrategy rollout_strategy = 3;- Specified by:
getRolloutStrategyValuein interfaceEndpointsApiServiceOrBuilder- Returns:
- The enum numeric value on the wire for rolloutStrategy.
-
setRolloutStrategyValue
public EndpointsApiService.Builder setRolloutStrategyValue(int value)
Endpoints rollout strategy. If `FIXED`, `config_id` must be specified. If `MANAGED`, `config_id` must be omitted.
.google.appengine.v1.EndpointsApiService.RolloutStrategy rollout_strategy = 3;- Parameters:
value- The enum numeric value on the wire for rolloutStrategy to set.- Returns:
- This builder for chaining.
-
getRolloutStrategy
public EndpointsApiService.RolloutStrategy getRolloutStrategy()
Endpoints rollout strategy. If `FIXED`, `config_id` must be specified. If `MANAGED`, `config_id` must be omitted.
.google.appengine.v1.EndpointsApiService.RolloutStrategy rollout_strategy = 3;- Specified by:
getRolloutStrategyin interfaceEndpointsApiServiceOrBuilder- Returns:
- The rolloutStrategy.
-
setRolloutStrategy
public EndpointsApiService.Builder setRolloutStrategy(EndpointsApiService.RolloutStrategy value)
Endpoints rollout strategy. If `FIXED`, `config_id` must be specified. If `MANAGED`, `config_id` must be omitted.
.google.appengine.v1.EndpointsApiService.RolloutStrategy rollout_strategy = 3;- Parameters:
value- The rolloutStrategy to set.- Returns:
- This builder for chaining.
-
clearRolloutStrategy
public EndpointsApiService.Builder clearRolloutStrategy()
Endpoints rollout strategy. If `FIXED`, `config_id` must be specified. If `MANAGED`, `config_id` must be omitted.
.google.appengine.v1.EndpointsApiService.RolloutStrategy rollout_strategy = 3;- Returns:
- This builder for chaining.
-
getDisableTraceSampling
public boolean getDisableTraceSampling()
Enable or disable trace sampling. By default, this is set to false for enabled.
bool disable_trace_sampling = 4;- Specified by:
getDisableTraceSamplingin interfaceEndpointsApiServiceOrBuilder- Returns:
- The disableTraceSampling.
-
setDisableTraceSampling
public EndpointsApiService.Builder setDisableTraceSampling(boolean value)
Enable or disable trace sampling. By default, this is set to false for enabled.
bool disable_trace_sampling = 4;- Parameters:
value- The disableTraceSampling to set.- Returns:
- This builder for chaining.
-
clearDisableTraceSampling
public EndpointsApiService.Builder clearDisableTraceSampling()
Enable or disable trace sampling. By default, this is set to false for enabled.
bool disable_trace_sampling = 4;- Returns:
- This builder for chaining.
-
setUnknownFields
public final EndpointsApiService.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EndpointsApiService.Builder>
-
mergeUnknownFields
public final EndpointsApiService.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EndpointsApiService.Builder>
-
-