Documentation ¶
Index ¶
- type ProvisionHardwareClientStream
- type ProvisionHardwareDescriptor
- func (d *ProvisionHardwareDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
- func (d *ProvisionHardwareDescriptor) GetApiName() string
- func (d *ProvisionHardwareDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *ProvisionHardwareDescriptor) GetFullMethodName() string
- func (d *ProvisionHardwareDescriptor) GetMethodName() string
- func (d *ProvisionHardwareDescriptor) GetProtoPkgName() string
- func (d *ProvisionHardwareDescriptor) GetResourceDescriptor() gotenresource.Descriptor
- func (d *ProvisionHardwareDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
- func (d *ProvisionHardwareDescriptor) GetServiceDomain() string
- func (d *ProvisionHardwareDescriptor) GetServiceVersion() string
- func (d *ProvisionHardwareDescriptor) GetVerb() string
- func (d *ProvisionHardwareDescriptor) HasResource() bool
- func (d *ProvisionHardwareDescriptor) IsClientStream() bool
- func (d *ProvisionHardwareDescriptor) IsCollection() bool
- func (d *ProvisionHardwareDescriptor) IsPlural() bool
- func (d *ProvisionHardwareDescriptor) IsServerStream() bool
- func (d *ProvisionHardwareDescriptor) IsUnary() bool
- func (d *ProvisionHardwareDescriptor) NewEmptyClientMsg() proto.Message
- func (d *ProvisionHardwareDescriptor) NewEmptyServerMsg() proto.Message
- func (d *ProvisionHardwareDescriptor) RequestHasResourceBody() bool
- type ProvisionHardwareDescriptorClientMsgHandle
- func (h *ProvisionHardwareDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *ProvisionHardwareDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *ProvisionHardwareDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *ProvisionHardwareDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *ProvisionHardwareDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type ProvisionHardwareDescriptorServerMsgHandle
- func (h *ProvisionHardwareDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
- func (h *ProvisionHardwareDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
- func (h *ProvisionHardwareDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
- func (h *ProvisionHardwareDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
- func (h *ProvisionHardwareDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
- type ProvisionHardwareRequest
- func (*ProvisionHardwareRequest) Descriptor() ([]byte, []int)
- func (m *ProvisionHardwareRequest) GetChallengeResponse() *api.IdentityChallengeResponse
- func (m *ProvisionHardwareRequest) GetIdentify() *api.DeviceIdentity
- func (m *ProvisionHardwareRequest) GetMsg() isProvisionHardwareRequest_Msg
- func (m *ProvisionHardwareRequest) GetProvisioningTarget() *ProvisionHardwareRequest_ProvisioningTarget
- func (*ProvisionHardwareRequest) GotenMessage()
- func (obj *ProvisionHardwareRequest) GotenValidate() error
- func (m *ProvisionHardwareRequest) Marshal() ([]byte, error)
- func (m *ProvisionHardwareRequest) MarshalJSON() ([]byte, error)
- func (*ProvisionHardwareRequest) ProtoMessage()
- func (m *ProvisionHardwareRequest) ProtoReflect() preflect.Message
- func (m *ProvisionHardwareRequest) Reset()
- func (m *ProvisionHardwareRequest) SetChallengeResponse(fv *api.IdentityChallengeResponse)
- func (m *ProvisionHardwareRequest) SetIdentify(fv *api.DeviceIdentity)
- func (m *ProvisionHardwareRequest) SetMsg(ofv isProvisionHardwareRequest_Msg)
- func (m *ProvisionHardwareRequest) SetProvisioningTarget(fv *ProvisionHardwareRequest_ProvisioningTarget)
- func (m *ProvisionHardwareRequest) String() string
- func (m *ProvisionHardwareRequest) Unmarshal(b []byte) error
- func (m *ProvisionHardwareRequest) UnmarshalJSON(data []byte) error
- type ProvisionHardwareRequest_ChallengeResponse
- type ProvisionHardwareRequest_Identify
- type ProvisionHardwareRequest_ProvisioningTarget
- func (*ProvisionHardwareRequest_ProvisioningTarget) Descriptor() ([]byte, []int)
- func (m *ProvisionHardwareRequest_ProvisioningTarget) GetDeviceName() *device.Name
- func (m *ProvisionHardwareRequest_ProvisioningTarget) GetProvisioningPolicyName() *provisioning_policy.Name
- func (*ProvisionHardwareRequest_ProvisioningTarget) GotenMessage()
- func (obj *ProvisionHardwareRequest_ProvisioningTarget) GotenValidate() error
- func (m *ProvisionHardwareRequest_ProvisioningTarget) Marshal() ([]byte, error)
- func (m *ProvisionHardwareRequest_ProvisioningTarget) MarshalJSON() ([]byte, error)
- func (*ProvisionHardwareRequest_ProvisioningTarget) ProtoMessage()
- func (m *ProvisionHardwareRequest_ProvisioningTarget) ProtoReflect() preflect.Message
- func (m *ProvisionHardwareRequest_ProvisioningTarget) Reset()
- func (m *ProvisionHardwareRequest_ProvisioningTarget) SetDeviceName(fv *device.Name)
- func (m *ProvisionHardwareRequest_ProvisioningTarget) SetProvisioningPolicyName(fv *provisioning_policy.Name)
- func (m *ProvisionHardwareRequest_ProvisioningTarget) String() string
- func (m *ProvisionHardwareRequest_ProvisioningTarget) Unmarshal(b []byte) error
- func (m *ProvisionHardwareRequest_ProvisioningTarget) UnmarshalJSON(data []byte) error
- type ProvisionHardwareRequest_ProvisioningTarget_
- type ProvisionHardwareResponse
- func (*ProvisionHardwareResponse) Descriptor() ([]byte, []int)
- func (m *ProvisionHardwareResponse) GetIdentityChallenge() *api.IdentityChallenge
- func (m *ProvisionHardwareResponse) GetMsg() isProvisionHardwareResponse_Msg
- func (m *ProvisionHardwareResponse) GetProvisioningResponse() *ProvisionHardwareResponse_ProvisioningResponse
- func (*ProvisionHardwareResponse) GotenMessage()
- func (obj *ProvisionHardwareResponse) GotenValidate() error
- func (m *ProvisionHardwareResponse) Marshal() ([]byte, error)
- func (m *ProvisionHardwareResponse) MarshalJSON() ([]byte, error)
- func (*ProvisionHardwareResponse) ProtoMessage()
- func (m *ProvisionHardwareResponse) ProtoReflect() preflect.Message
- func (m *ProvisionHardwareResponse) Reset()
- func (m *ProvisionHardwareResponse) SetIdentityChallenge(fv *api.IdentityChallenge)
- func (m *ProvisionHardwareResponse) SetMsg(ofv isProvisionHardwareResponse_Msg)
- func (m *ProvisionHardwareResponse) SetProvisioningResponse(fv *ProvisionHardwareResponse_ProvisioningResponse)
- func (m *ProvisionHardwareResponse) String() string
- func (m *ProvisionHardwareResponse) Unmarshal(b []byte) error
- func (m *ProvisionHardwareResponse) UnmarshalJSON(data []byte) error
- type ProvisionHardwareResponse_IdentityChallenge
- type ProvisionHardwareResponse_ProvisioningResponse
- func (*ProvisionHardwareResponse_ProvisioningResponse) Descriptor() ([]byte, []int)
- func (m *ProvisionHardwareResponse_ProvisioningResponse) GetDeviceName() *device.Name
- func (m *ProvisionHardwareResponse_ProvisioningResponse) GetProvisioningPolicyName() *provisioning_policy.Name
- func (m *ProvisionHardwareResponse_ProvisioningResponse) GetServiceAccount() *api.ServiceAccount
- func (*ProvisionHardwareResponse_ProvisioningResponse) GotenMessage()
- func (obj *ProvisionHardwareResponse_ProvisioningResponse) GotenValidate() error
- func (m *ProvisionHardwareResponse_ProvisioningResponse) Marshal() ([]byte, error)
- func (m *ProvisionHardwareResponse_ProvisioningResponse) MarshalJSON() ([]byte, error)
- func (*ProvisionHardwareResponse_ProvisioningResponse) ProtoMessage()
- func (m *ProvisionHardwareResponse_ProvisioningResponse) ProtoReflect() preflect.Message
- func (m *ProvisionHardwareResponse_ProvisioningResponse) Reset()
- func (m *ProvisionHardwareResponse_ProvisioningResponse) SetDeviceName(fv *device.Name)
- func (m *ProvisionHardwareResponse_ProvisioningResponse) SetProvisioningPolicyName(fv *provisioning_policy.Name)
- func (m *ProvisionHardwareResponse_ProvisioningResponse) SetServiceAccount(fv *api.ServiceAccount)
- func (m *ProvisionHardwareResponse_ProvisioningResponse) String() string
- func (m *ProvisionHardwareResponse_ProvisioningResponse) Unmarshal(b []byte) error
- func (m *ProvisionHardwareResponse_ProvisioningResponse) UnmarshalJSON(data []byte) error
- type ProvisionHardwareResponse_ProvisioningResponse_
- type ZtpProvisionHardwareServiceClient
- type ZtpProvisionHardwareServiceDescriptor
- func (d *ZtpProvisionHardwareServiceDescriptor) AllMethodDescriptors() []gotenclient.MethodDescriptor
- func (d *ZtpProvisionHardwareServiceDescriptor) GetApiName() string
- func (d *ZtpProvisionHardwareServiceDescriptor) GetFullAPIName() string
- func (d *ZtpProvisionHardwareServiceDescriptor) GetProtoPkgName() string
- func (d *ZtpProvisionHardwareServiceDescriptor) GetServiceDomain() string
- func (d *ZtpProvisionHardwareServiceDescriptor) GetServiceVersion() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProvisionHardwareClientStream ¶
type ProvisionHardwareClientStream interface { Send(*ProvisionHardwareRequest) error Recv() (*ProvisionHardwareResponse, error) grpc.ClientStream }
type ProvisionHardwareDescriptor ¶
type ProvisionHardwareDescriptor struct{}
func GetProvisionHardwareDescriptor ¶
func GetProvisionHardwareDescriptor() *ProvisionHardwareDescriptor
func (*ProvisionHardwareDescriptor) GetApiDescriptor ¶
func (d *ProvisionHardwareDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor
func (*ProvisionHardwareDescriptor) GetApiName ¶
func (d *ProvisionHardwareDescriptor) GetApiName() string
func (*ProvisionHardwareDescriptor) GetClientMsgReflectHandle ¶
func (d *ProvisionHardwareDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle
func (*ProvisionHardwareDescriptor) GetFullMethodName ¶
func (d *ProvisionHardwareDescriptor) GetFullMethodName() string
func (*ProvisionHardwareDescriptor) GetMethodName ¶
func (d *ProvisionHardwareDescriptor) GetMethodName() string
func (*ProvisionHardwareDescriptor) GetProtoPkgName ¶
func (d *ProvisionHardwareDescriptor) GetProtoPkgName() string
func (*ProvisionHardwareDescriptor) GetResourceDescriptor ¶
func (d *ProvisionHardwareDescriptor) GetResourceDescriptor() gotenresource.Descriptor
func (*ProvisionHardwareDescriptor) GetServerMsgReflectHandle ¶
func (d *ProvisionHardwareDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle
func (*ProvisionHardwareDescriptor) GetServiceDomain ¶
func (d *ProvisionHardwareDescriptor) GetServiceDomain() string
func (*ProvisionHardwareDescriptor) GetServiceVersion ¶
func (d *ProvisionHardwareDescriptor) GetServiceVersion() string
func (*ProvisionHardwareDescriptor) GetVerb ¶
func (d *ProvisionHardwareDescriptor) GetVerb() string
func (*ProvisionHardwareDescriptor) HasResource ¶
func (d *ProvisionHardwareDescriptor) HasResource() bool
func (*ProvisionHardwareDescriptor) IsClientStream ¶
func (d *ProvisionHardwareDescriptor) IsClientStream() bool
func (*ProvisionHardwareDescriptor) IsCollection ¶
func (d *ProvisionHardwareDescriptor) IsCollection() bool
func (*ProvisionHardwareDescriptor) IsPlural ¶
func (d *ProvisionHardwareDescriptor) IsPlural() bool
func (*ProvisionHardwareDescriptor) IsServerStream ¶
func (d *ProvisionHardwareDescriptor) IsServerStream() bool
func (*ProvisionHardwareDescriptor) IsUnary ¶
func (d *ProvisionHardwareDescriptor) IsUnary() bool
func (*ProvisionHardwareDescriptor) NewEmptyClientMsg ¶
func (d *ProvisionHardwareDescriptor) NewEmptyClientMsg() proto.Message
func (*ProvisionHardwareDescriptor) NewEmptyServerMsg ¶
func (d *ProvisionHardwareDescriptor) NewEmptyServerMsg() proto.Message
func (*ProvisionHardwareDescriptor) RequestHasResourceBody ¶
func (d *ProvisionHardwareDescriptor) RequestHasResourceBody() bool
type ProvisionHardwareDescriptorClientMsgHandle ¶
type ProvisionHardwareDescriptorClientMsgHandle struct{}
func (*ProvisionHardwareDescriptorClientMsgHandle) ExtractCollectionName ¶
func (h *ProvisionHardwareDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*ProvisionHardwareDescriptorClientMsgHandle) ExtractResourceBodies ¶
func (h *ProvisionHardwareDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*ProvisionHardwareDescriptorClientMsgHandle) ExtractResourceBody ¶
func (h *ProvisionHardwareDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*ProvisionHardwareDescriptorClientMsgHandle) ExtractResourceName ¶
func (h *ProvisionHardwareDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*ProvisionHardwareDescriptorClientMsgHandle) ExtractResourceNames ¶
func (h *ProvisionHardwareDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type ProvisionHardwareDescriptorServerMsgHandle ¶
type ProvisionHardwareDescriptorServerMsgHandle struct{}
func (*ProvisionHardwareDescriptorServerMsgHandle) ExtractCollectionName ¶
func (h *ProvisionHardwareDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name
func (*ProvisionHardwareDescriptorServerMsgHandle) ExtractResourceBodies ¶
func (h *ProvisionHardwareDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList
func (*ProvisionHardwareDescriptorServerMsgHandle) ExtractResourceBody ¶
func (h *ProvisionHardwareDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource
func (*ProvisionHardwareDescriptorServerMsgHandle) ExtractResourceName ¶
func (h *ProvisionHardwareDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name
func (*ProvisionHardwareDescriptorServerMsgHandle) ExtractResourceNames ¶
func (h *ProvisionHardwareDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList
type ProvisionHardwareRequest ¶
type ProvisionHardwareRequest struct { // Types that are valid to be assigned to Msg: // *ProvisionHardwareRequest_ProvisioningTarget_ // *ProvisionHardwareRequest_Identify // *ProvisionHardwareRequest_ChallengeResponse Msg isProvisionHardwareRequest_Msg `protobuf_oneof:"msg"` // contains filtered or unexported fields }
Request message for method [ProvisionHardware][ntt.devices.v1.ProvisionHardware]
func (*ProvisionHardwareRequest) Descriptor ¶
func (*ProvisionHardwareRequest) Descriptor() ([]byte, []int)
Deprecated, Use ProvisionHardwareRequest.ProtoReflect.Descriptor instead.
func (*ProvisionHardwareRequest) GetChallengeResponse ¶
func (m *ProvisionHardwareRequest) GetChallengeResponse() *api.IdentityChallengeResponse
func (*ProvisionHardwareRequest) GetIdentify ¶
func (m *ProvisionHardwareRequest) GetIdentify() *api.DeviceIdentity
func (*ProvisionHardwareRequest) GetMsg ¶
func (m *ProvisionHardwareRequest) GetMsg() isProvisionHardwareRequest_Msg
func (*ProvisionHardwareRequest) GetProvisioningTarget ¶
func (m *ProvisionHardwareRequest) GetProvisioningTarget() *ProvisionHardwareRequest_ProvisioningTarget
func (*ProvisionHardwareRequest) GotenMessage ¶
func (*ProvisionHardwareRequest) GotenMessage()
func (*ProvisionHardwareRequest) GotenValidate ¶
func (obj *ProvisionHardwareRequest) GotenValidate() error
func (*ProvisionHardwareRequest) Marshal ¶
func (m *ProvisionHardwareRequest) Marshal() ([]byte, error)
func (*ProvisionHardwareRequest) MarshalJSON ¶
func (m *ProvisionHardwareRequest) MarshalJSON() ([]byte, error)
func (*ProvisionHardwareRequest) ProtoMessage ¶
func (*ProvisionHardwareRequest) ProtoMessage()
func (*ProvisionHardwareRequest) ProtoReflect ¶
func (m *ProvisionHardwareRequest) ProtoReflect() preflect.Message
func (*ProvisionHardwareRequest) Reset ¶
func (m *ProvisionHardwareRequest) Reset()
func (*ProvisionHardwareRequest) SetChallengeResponse ¶
func (m *ProvisionHardwareRequest) SetChallengeResponse(fv *api.IdentityChallengeResponse)
func (*ProvisionHardwareRequest) SetIdentify ¶
func (m *ProvisionHardwareRequest) SetIdentify(fv *api.DeviceIdentity)
func (*ProvisionHardwareRequest) SetMsg ¶
func (m *ProvisionHardwareRequest) SetMsg(ofv isProvisionHardwareRequest_Msg)
func (*ProvisionHardwareRequest) SetProvisioningTarget ¶
func (m *ProvisionHardwareRequest) SetProvisioningTarget(fv *ProvisionHardwareRequest_ProvisioningTarget)
func (*ProvisionHardwareRequest) String ¶
func (m *ProvisionHardwareRequest) String() string
func (*ProvisionHardwareRequest) Unmarshal ¶
func (m *ProvisionHardwareRequest) Unmarshal(b []byte) error
func (*ProvisionHardwareRequest) UnmarshalJSON ¶
func (m *ProvisionHardwareRequest) UnmarshalJSON(data []byte) error
type ProvisionHardwareRequest_ChallengeResponse ¶
type ProvisionHardwareRequest_ChallengeResponse struct {
ChallengeResponse *api.IdentityChallengeResponse `protobuf:"bytes,3,opt,name=challenge_response,json=challengeResponse,proto3,oneof" firestore:"challengeResponse"`
}
type ProvisionHardwareRequest_Identify ¶
type ProvisionHardwareRequest_Identify struct {
Identify *api.DeviceIdentity `protobuf:"bytes,2,opt,name=identify,proto3,oneof" firestore:"identify"`
}
type ProvisionHardwareRequest_ProvisioningTarget ¶
type ProvisionHardwareRequest_ProvisioningTarget struct { // one of provisioning_policy_name or device_name is required ProvisioningPolicyName *provisioning_policy.Name `` /* 180-byte string literal not displayed */ DeviceName *device.Name `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
ProvisioningTarget is used to know the correct region to route the request
func (*ProvisionHardwareRequest_ProvisioningTarget) Descriptor ¶
func (*ProvisionHardwareRequest_ProvisioningTarget) Descriptor() ([]byte, []int)
Deprecated, Use ProvisionHardwareRequest_ProvisioningTarget.ProtoReflect.Descriptor instead.
func (*ProvisionHardwareRequest_ProvisioningTarget) GetDeviceName ¶
func (m *ProvisionHardwareRequest_ProvisioningTarget) GetDeviceName() *device.Name
func (*ProvisionHardwareRequest_ProvisioningTarget) GetProvisioningPolicyName ¶
func (m *ProvisionHardwareRequest_ProvisioningTarget) GetProvisioningPolicyName() *provisioning_policy.Name
func (*ProvisionHardwareRequest_ProvisioningTarget) GotenMessage ¶
func (*ProvisionHardwareRequest_ProvisioningTarget) GotenMessage()
func (*ProvisionHardwareRequest_ProvisioningTarget) GotenValidate ¶
func (obj *ProvisionHardwareRequest_ProvisioningTarget) GotenValidate() error
func (*ProvisionHardwareRequest_ProvisioningTarget) Marshal ¶
func (m *ProvisionHardwareRequest_ProvisioningTarget) Marshal() ([]byte, error)
func (*ProvisionHardwareRequest_ProvisioningTarget) MarshalJSON ¶
func (m *ProvisionHardwareRequest_ProvisioningTarget) MarshalJSON() ([]byte, error)
func (*ProvisionHardwareRequest_ProvisioningTarget) ProtoMessage ¶
func (*ProvisionHardwareRequest_ProvisioningTarget) ProtoMessage()
func (*ProvisionHardwareRequest_ProvisioningTarget) ProtoReflect ¶
func (m *ProvisionHardwareRequest_ProvisioningTarget) ProtoReflect() preflect.Message
func (*ProvisionHardwareRequest_ProvisioningTarget) Reset ¶
func (m *ProvisionHardwareRequest_ProvisioningTarget) Reset()
func (*ProvisionHardwareRequest_ProvisioningTarget) SetDeviceName ¶
func (m *ProvisionHardwareRequest_ProvisioningTarget) SetDeviceName(fv *device.Name)
func (*ProvisionHardwareRequest_ProvisioningTarget) SetProvisioningPolicyName ¶
func (m *ProvisionHardwareRequest_ProvisioningTarget) SetProvisioningPolicyName(fv *provisioning_policy.Name)
func (*ProvisionHardwareRequest_ProvisioningTarget) String ¶
func (m *ProvisionHardwareRequest_ProvisioningTarget) String() string
func (*ProvisionHardwareRequest_ProvisioningTarget) Unmarshal ¶
func (m *ProvisionHardwareRequest_ProvisioningTarget) Unmarshal(b []byte) error
func (*ProvisionHardwareRequest_ProvisioningTarget) UnmarshalJSON ¶
func (m *ProvisionHardwareRequest_ProvisioningTarget) UnmarshalJSON(data []byte) error
type ProvisionHardwareRequest_ProvisioningTarget_ ¶
type ProvisionHardwareRequest_ProvisioningTarget_ struct {
ProvisioningTarget *ProvisionHardwareRequest_ProvisioningTarget `protobuf:"bytes,1,opt,name=provisioning_target,json=provisioningTarget,proto3,oneof" firestore:"provisioningTarget"`
}
type ProvisionHardwareResponse ¶
type ProvisionHardwareResponse struct { // Types that are valid to be assigned to Msg: // *ProvisionHardwareResponse_IdentityChallenge // *ProvisionHardwareResponse_ProvisioningResponse_ Msg isProvisionHardwareResponse_Msg `protobuf_oneof:"msg"` // contains filtered or unexported fields }
Response message for method [ProvisionHardware][ntt.devices.v1.ProvisionHardware]
func (*ProvisionHardwareResponse) Descriptor ¶
func (*ProvisionHardwareResponse) Descriptor() ([]byte, []int)
Deprecated, Use ProvisionHardwareResponse.ProtoReflect.Descriptor instead.
func (*ProvisionHardwareResponse) GetIdentityChallenge ¶
func (m *ProvisionHardwareResponse) GetIdentityChallenge() *api.IdentityChallenge
func (*ProvisionHardwareResponse) GetMsg ¶
func (m *ProvisionHardwareResponse) GetMsg() isProvisionHardwareResponse_Msg
func (*ProvisionHardwareResponse) GetProvisioningResponse ¶
func (m *ProvisionHardwareResponse) GetProvisioningResponse() *ProvisionHardwareResponse_ProvisioningResponse
func (*ProvisionHardwareResponse) GotenMessage ¶
func (*ProvisionHardwareResponse) GotenMessage()
func (*ProvisionHardwareResponse) GotenValidate ¶
func (obj *ProvisionHardwareResponse) GotenValidate() error
func (*ProvisionHardwareResponse) Marshal ¶
func (m *ProvisionHardwareResponse) Marshal() ([]byte, error)
func (*ProvisionHardwareResponse) MarshalJSON ¶
func (m *ProvisionHardwareResponse) MarshalJSON() ([]byte, error)
func (*ProvisionHardwareResponse) ProtoMessage ¶
func (*ProvisionHardwareResponse) ProtoMessage()
func (*ProvisionHardwareResponse) ProtoReflect ¶
func (m *ProvisionHardwareResponse) ProtoReflect() preflect.Message
func (*ProvisionHardwareResponse) Reset ¶
func (m *ProvisionHardwareResponse) Reset()
func (*ProvisionHardwareResponse) SetIdentityChallenge ¶
func (m *ProvisionHardwareResponse) SetIdentityChallenge(fv *api.IdentityChallenge)
func (*ProvisionHardwareResponse) SetMsg ¶
func (m *ProvisionHardwareResponse) SetMsg(ofv isProvisionHardwareResponse_Msg)
func (*ProvisionHardwareResponse) SetProvisioningResponse ¶
func (m *ProvisionHardwareResponse) SetProvisioningResponse(fv *ProvisionHardwareResponse_ProvisioningResponse)
func (*ProvisionHardwareResponse) String ¶
func (m *ProvisionHardwareResponse) String() string
func (*ProvisionHardwareResponse) Unmarshal ¶
func (m *ProvisionHardwareResponse) Unmarshal(b []byte) error
func (*ProvisionHardwareResponse) UnmarshalJSON ¶
func (m *ProvisionHardwareResponse) UnmarshalJSON(data []byte) error
type ProvisionHardwareResponse_IdentityChallenge ¶
type ProvisionHardwareResponse_IdentityChallenge struct {
IdentityChallenge *api.IdentityChallenge `protobuf:"bytes,1,opt,name=identity_challenge,json=identityChallenge,proto3,oneof" firestore:"identityChallenge"`
}
type ProvisionHardwareResponse_ProvisioningResponse ¶
type ProvisionHardwareResponse_ProvisioningResponse struct { ServiceAccount *api.ServiceAccount `` /* 130-byte string literal not displayed */ ProvisioningPolicyName *provisioning_policy.Name `` /* 180-byte string literal not displayed */ DeviceName *device.Name `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
One of provisioning service_account and policy name or device service_account and device name will be returned.
func (*ProvisionHardwareResponse_ProvisioningResponse) Descriptor ¶
func (*ProvisionHardwareResponse_ProvisioningResponse) Descriptor() ([]byte, []int)
Deprecated, Use ProvisionHardwareResponse_ProvisioningResponse.ProtoReflect.Descriptor instead.
func (*ProvisionHardwareResponse_ProvisioningResponse) GetDeviceName ¶
func (m *ProvisionHardwareResponse_ProvisioningResponse) GetDeviceName() *device.Name
func (*ProvisionHardwareResponse_ProvisioningResponse) GetProvisioningPolicyName ¶
func (m *ProvisionHardwareResponse_ProvisioningResponse) GetProvisioningPolicyName() *provisioning_policy.Name
func (*ProvisionHardwareResponse_ProvisioningResponse) GetServiceAccount ¶
func (m *ProvisionHardwareResponse_ProvisioningResponse) GetServiceAccount() *api.ServiceAccount
func (*ProvisionHardwareResponse_ProvisioningResponse) GotenMessage ¶
func (*ProvisionHardwareResponse_ProvisioningResponse) GotenMessage()
func (*ProvisionHardwareResponse_ProvisioningResponse) GotenValidate ¶
func (obj *ProvisionHardwareResponse_ProvisioningResponse) GotenValidate() error
func (*ProvisionHardwareResponse_ProvisioningResponse) Marshal ¶
func (m *ProvisionHardwareResponse_ProvisioningResponse) Marshal() ([]byte, error)
func (*ProvisionHardwareResponse_ProvisioningResponse) MarshalJSON ¶
func (m *ProvisionHardwareResponse_ProvisioningResponse) MarshalJSON() ([]byte, error)
func (*ProvisionHardwareResponse_ProvisioningResponse) ProtoMessage ¶
func (*ProvisionHardwareResponse_ProvisioningResponse) ProtoMessage()
func (*ProvisionHardwareResponse_ProvisioningResponse) ProtoReflect ¶
func (m *ProvisionHardwareResponse_ProvisioningResponse) ProtoReflect() preflect.Message
func (*ProvisionHardwareResponse_ProvisioningResponse) Reset ¶
func (m *ProvisionHardwareResponse_ProvisioningResponse) Reset()
func (*ProvisionHardwareResponse_ProvisioningResponse) SetDeviceName ¶
func (m *ProvisionHardwareResponse_ProvisioningResponse) SetDeviceName(fv *device.Name)
func (*ProvisionHardwareResponse_ProvisioningResponse) SetProvisioningPolicyName ¶
func (m *ProvisionHardwareResponse_ProvisioningResponse) SetProvisioningPolicyName(fv *provisioning_policy.Name)
func (*ProvisionHardwareResponse_ProvisioningResponse) SetServiceAccount ¶
func (m *ProvisionHardwareResponse_ProvisioningResponse) SetServiceAccount(fv *api.ServiceAccount)
func (*ProvisionHardwareResponse_ProvisioningResponse) String ¶
func (m *ProvisionHardwareResponse_ProvisioningResponse) String() string
func (*ProvisionHardwareResponse_ProvisioningResponse) Unmarshal ¶
func (m *ProvisionHardwareResponse_ProvisioningResponse) Unmarshal(b []byte) error
func (*ProvisionHardwareResponse_ProvisioningResponse) UnmarshalJSON ¶
func (m *ProvisionHardwareResponse_ProvisioningResponse) UnmarshalJSON(data []byte) error
type ProvisionHardwareResponse_ProvisioningResponse_ ¶
type ProvisionHardwareResponse_ProvisioningResponse_ struct {
ProvisioningResponse *ProvisionHardwareResponse_ProvisioningResponse `protobuf:"bytes,2,opt,name=provisioning_response,json=provisioningResponse,proto3,oneof" firestore:"provisioningResponse"`
}
type ZtpProvisionHardwareServiceClient ¶
type ZtpProvisionHardwareServiceClient interface {
ProvisionHardware(ctx context.Context, opts ...grpc.CallOption) (ProvisionHardwareClientStream, error)
}
ZtpProvisionHardwareServiceClient is the client API for ZtpProvisionHardwareService.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewZtpProvisionHardwareServiceClient ¶
func NewZtpProvisionHardwareServiceClient(cc grpc.ClientConnInterface) ZtpProvisionHardwareServiceClient
type ZtpProvisionHardwareServiceDescriptor ¶
type ZtpProvisionHardwareServiceDescriptor struct{}
func GetZtpProvisionHardwareServiceDescriptor ¶
func GetZtpProvisionHardwareServiceDescriptor() *ZtpProvisionHardwareServiceDescriptor
func (*ZtpProvisionHardwareServiceDescriptor) AllMethodDescriptors ¶
func (d *ZtpProvisionHardwareServiceDescriptor) AllMethodDescriptors() []gotenclient.MethodDescriptor
func (*ZtpProvisionHardwareServiceDescriptor) GetApiName ¶
func (d *ZtpProvisionHardwareServiceDescriptor) GetApiName() string
func (*ZtpProvisionHardwareServiceDescriptor) GetFullAPIName ¶
func (d *ZtpProvisionHardwareServiceDescriptor) GetFullAPIName() string
func (*ZtpProvisionHardwareServiceDescriptor) GetProtoPkgName ¶
func (d *ZtpProvisionHardwareServiceDescriptor) GetProtoPkgName() string
func (*ZtpProvisionHardwareServiceDescriptor) GetServiceDomain ¶
func (d *ZtpProvisionHardwareServiceDescriptor) GetServiceDomain() string
func (*ZtpProvisionHardwareServiceDescriptor) GetServiceVersion ¶
func (d *ZtpProvisionHardwareServiceDescriptor) GetServiceVersion() string