Class GetInsightTypeConfigRequest.Builder (2.9.0)

public static final class GetInsightTypeConfigRequest.Builder extends GeneratedMessageV3.Builder<GetInsightTypeConfigRequest.Builder> implements GetInsightTypeConfigRequestOrBuilder

Request for the GetInsightTypeConfig` method.

Protobuf type google.cloud.recommender.v1.GetInsightTypeConfigRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetInsightTypeConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetInsightTypeConfigRequest.Builder
Overrides

build()

public GetInsightTypeConfigRequest build()
Returns
TypeDescription
GetInsightTypeConfigRequest

buildPartial()

public GetInsightTypeConfigRequest buildPartial()
Returns
TypeDescription
GetInsightTypeConfigRequest

clear()

public GetInsightTypeConfigRequest.Builder clear()
Returns
TypeDescription
GetInsightTypeConfigRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetInsightTypeConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetInsightTypeConfigRequest.Builder
Overrides

clearName()

public GetInsightTypeConfigRequest.Builder clearName()

Required. Name of the InsightTypeConfig to get. Acceptable formats:

  • projects/[PROJECT_NUMBER]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config
  • projects/[PROJECT_ID]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config
  • organizations/[ORGANIZATION_ID]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
GetInsightTypeConfigRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetInsightTypeConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetInsightTypeConfigRequest.Builder
Overrides

clone()

public GetInsightTypeConfigRequest.Builder clone()
Returns
TypeDescription
GetInsightTypeConfigRequest.Builder
Overrides

getDefaultInstanceForType()

public GetInsightTypeConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
GetInsightTypeConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Name of the InsightTypeConfig to get. Acceptable formats:

  • projects/[PROJECT_NUMBER]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config
  • projects/[PROJECT_ID]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config
  • organizations/[ORGANIZATION_ID]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the InsightTypeConfig to get. Acceptable formats:

  • projects/[PROJECT_NUMBER]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config
  • projects/[PROJECT_ID]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config
  • organizations/[ORGANIZATION_ID]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetInsightTypeConfigRequest other)

public GetInsightTypeConfigRequest.Builder mergeFrom(GetInsightTypeConfigRequest other)
Parameter
NameDescription
otherGetInsightTypeConfigRequest
Returns
TypeDescription
GetInsightTypeConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetInsightTypeConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetInsightTypeConfigRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetInsightTypeConfigRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetInsightTypeConfigRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetInsightTypeConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetInsightTypeConfigRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetInsightTypeConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetInsightTypeConfigRequest.Builder
Overrides

setName(String value)

public GetInsightTypeConfigRequest.Builder setName(String value)

Required. Name of the InsightTypeConfig to get. Acceptable formats:

  • projects/[PROJECT_NUMBER]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config
  • projects/[PROJECT_ID]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config
  • organizations/[ORGANIZATION_ID]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetInsightTypeConfigRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetInsightTypeConfigRequest.Builder setNameBytes(ByteString value)

Required. Name of the InsightTypeConfig to get. Acceptable formats:

  • projects/[PROJECT_NUMBER]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config
  • projects/[PROJECT_ID]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config
  • organizations/[ORGANIZATION_ID]/locations/global/recommenders/[INSIGHT_TYPE_ID]/config

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetInsightTypeConfigRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GetInsightTypeConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetInsightTypeConfigRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetInsightTypeConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetInsightTypeConfigRequest.Builder
Overrides