public static final class GetServiceLevelObjectiveRequest.Builder extends GeneratedMessageV3.Builder<GetServiceLevelObjectiveRequest.Builder> implements GetServiceLevelObjectiveRequestOrBuilder
The GetServiceLevelObjective
request.
Protobuf type google.monitoring.v3.GetServiceLevelObjectiveRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetServiceLevelObjectiveRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GetServiceLevelObjectiveRequest build()
buildPartial()
public GetServiceLevelObjectiveRequest buildPartial()
clear()
public GetServiceLevelObjectiveRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public GetServiceLevelObjectiveRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public GetServiceLevelObjectiveRequest.Builder clearName()
Required. Resource name of the ServiceLevelObjective
to get. The format is:
projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public GetServiceLevelObjectiveRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearView()
public GetServiceLevelObjectiveRequest.Builder clearView()
View of the ServiceLevelObjective
to return. If DEFAULT
, return the
ServiceLevelObjective
as originally defined. If EXPLICIT
and the
ServiceLevelObjective
is defined in terms of a BasicSli
, replace the
BasicSli
with a RequestBasedSli
spelling out how the SLI is computed.
.google.monitoring.v3.ServiceLevelObjective.View view = 2;
clone()
public GetServiceLevelObjectiveRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public GetServiceLevelObjectiveRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getName()
Required. Resource name of the ServiceLevelObjective
to get. The format is:
projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. Resource name of the ServiceLevelObjective
to get. The format is:
projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
getView()
public ServiceLevelObjective.View getView()
View of the ServiceLevelObjective
to return. If DEFAULT
, return the
ServiceLevelObjective
as originally defined. If EXPLICIT
and the
ServiceLevelObjective
is defined in terms of a BasicSli
, replace the
BasicSli
with a RequestBasedSli
spelling out how the SLI is computed.
.google.monitoring.v3.ServiceLevelObjective.View view = 2;
getViewValue()
public int getViewValue()
View of the ServiceLevelObjective
to return. If DEFAULT
, return the
ServiceLevelObjective
as originally defined. If EXPLICIT
and the
ServiceLevelObjective
is defined in terms of a BasicSli
, replace the
BasicSli
with a RequestBasedSli
spelling out how the SLI is computed.
.google.monitoring.v3.ServiceLevelObjective.View view = 2;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for view.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(GetServiceLevelObjectiveRequest other)
public GetServiceLevelObjectiveRequest.Builder mergeFrom(GetServiceLevelObjectiveRequest other)
public GetServiceLevelObjectiveRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GetServiceLevelObjectiveRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetServiceLevelObjectiveRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GetServiceLevelObjectiveRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setName(String value)
public GetServiceLevelObjectiveRequest.Builder setName(String value)
Required. Resource name of the ServiceLevelObjective
to get. The format is:
projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The name to set.
|
setNameBytes(ByteString value)
public GetServiceLevelObjectiveRequest.Builder setNameBytes(ByteString value)
Required. Resource name of the ServiceLevelObjective
to get. The format is:
projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetServiceLevelObjectiveRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetServiceLevelObjectiveRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setView(ServiceLevelObjective.View value)
public GetServiceLevelObjectiveRequest.Builder setView(ServiceLevelObjective.View value)
View of the ServiceLevelObjective
to return. If DEFAULT
, return the
ServiceLevelObjective
as originally defined. If EXPLICIT
and the
ServiceLevelObjective
is defined in terms of a BasicSli
, replace the
BasicSli
with a RequestBasedSli
spelling out how the SLI is computed.
.google.monitoring.v3.ServiceLevelObjective.View view = 2;
setViewValue(int value)
public GetServiceLevelObjectiveRequest.Builder setViewValue(int value)
View of the ServiceLevelObjective
to return. If DEFAULT
, return the
ServiceLevelObjective
as originally defined. If EXPLICIT
and the
ServiceLevelObjective
is defined in terms of a BasicSli
, replace the
BasicSli
with a RequestBasedSli
spelling out how the SLI is computed.
.google.monitoring.v3.ServiceLevelObjective.View view = 2;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for view to set.
|