예제 #1
0
 public PushListMessage.Builder AddTargets(Target.Builder builderForValue)
 {
     Google.ProtocolBuffers.ThrowHelper.ThrowIfNull((object)builderForValue, nameof(builderForValue));
     this.PrepareBuilder();
     this.result.targets_.Add(builderForValue.Build());
     return(this);
 }
 public PushListMessage.Builder AddTargets(Target.Builder builderForValue)
 {
     ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
     this.PrepareBuilder();
     this.result.targets_.Add(builderForValue.Build());
     return(this);
 }
 public PushListMessage.Builder SetTargets(int index, Target.Builder builderForValue)
 {
     ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
     this.PrepareBuilder();
     this.result.targets_[index] = builderForValue.Build();
     return(this);
 }
 public PushOSSingleMessage.Builder SetTarget(Target.Builder builderForValue)
 {
     ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
     this.PrepareBuilder();
     this.result.hasTarget = true;
     this.result.target_   = builderForValue.Build();
     return(this);
 }
예제 #5
0
 public PushOSSingleMessage.Builder SetTarget(Target.Builder builderForValue)
 {
     Google.ProtocolBuffers.ThrowHelper.ThrowIfNull((object)builderForValue, nameof(builderForValue));
     this.PrepareBuilder();
     this.result.hasTarget = true;
     this.result.target_   = builderForValue.Build();
     return(this);
 }
예제 #6
0
 // Token: 0x060007A6 RID: 1958 RVA: 0x00012602 File Offset: 0x00010802
 public Builder SetTarget(Target.Builder builderForValue)
 {
     ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
     PrepareBuilder();
     result.HasTarget = true;
     result.target_   = builderForValue.Build();
     return(this);
 }